Skip to main content
Question

Redirect after user edit

  • June 22, 2021
  • 0 replies
  • 68 views

Forum|alt.badge.img+14
Am I forgetting how NextURL works? Does it not work with a user editing a record. I'm only trying to have a user edit a record, on a specific form, then once they hit save redirect. What am I doing wrong?

Using my code below, it is like it doesnt see the redirect and just lands on the App home page. Does NextURL not work when editing a record, or do I have a typo I am missing?

var text Edit = URLRoot() & "db/" & "bpxsufvbt?a=er&dfid=10&rid=" & [Related Project];
var text Redirect = URLRoot() & "db/" & "bpu98ejpu?a=dbpage&pageID=44";

"<a class='OpenAsPopup' data-height=500 data-width=700 style=\"background: #7aace0; border-radius: 5px; color: #ffffff; display: inline-block; padding: 2px 0px; width:150px; text-align: center; border: 1px solid #030404; font-size: 11px \"href='"
& $Edit
& "&NextURL=" & URLEncode($Redirect)
& "'>Add Contract ID/Address</a>",

------------------------------
Mike Tamoush
------------------------------

MarkShnierYou
Forum|alt.badge.img+24
does the Redirect work on its own?  is that Syntax correct.  i did not test.

I thought the syntax was like

var text Redirect = URLRoot() & "db/" & "bpu98ejpu?a=showpage&pageID=44";

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------