HunterB
2 years agoQrew Cadet
Add Save and Keep Working Button on form for a new record
Hello,
I would like to add a save and keep working button in the middle of my form. This would be used for new records that have yet to be saved before. Is that possible and how can I do it? I can ...
- 2 years ago
There is a data-replaceRID component that you can place for new ones that QB will interpret and land you on the newly created record. This is an example of rich-text field using this:
var text url = URLRoot() & "db/" & Dbid() & "?a=er&rid=%%rid%%";
var text link = "<a href='" & $url & "' data-replaceRid='true' style='font-size: 11pt;margin-left: 5px; margin-top: 0px; height: 33px; width: 160px; text-align:center;background-color:#13294d;color:white;background-image: linear-gradient(to bottom, #13294d 0%, #13294d 100%);' class='SaveBeforeNavigating Vibrant'>Save and Continue</a>";$link
The two components are rid=%%rid%% in the url and then the data-replaceRID param in the button itself.
------------------------------
Chayce Duncan
------------------------------