Forum Discussion
Can you expand a little more on your use case? I tested a similar Save & Continue button that uses SaveBeforeNavigating, but I didn't find any issues doing it when editing/saving updates to an existing record, and similarly no issues when adding/saving a record the first time.
------------------------------
Chayce Duncan
------------------------------
- DanielleWilczew2 years agoQrew MemberHi Chayce, The issue is that the button won't do the passive save if clicked from an ifv=1 form. If I click the button on the native form, it works as intended. When we click on the button on the same form but with ifv=1, it pops up with the "You must save this Login first" as shown in the original post. 
 ------------------------------
 Danielle Wilczewski
 ------------------------------- ChayceDuncan2 years agoQrew CaptainCan you copy the formula for that button here? I tried testing what I assumed was your scenario using both the API_GenAddRecordForm and nwr URL patterns, both with no issue when using SaveBeforeNavigating and it operating as intended with ifv=1. From your screenshot - can you just confirm that when you're testing this you're actually changing something on the record? Like actually entering/changing at least one field? If you're not entering any data and then clicking the button - the behavior might be a little odd since it's not registering potentially that there is anything to save. 
 ------------------------------
 Chayce Duncan
 ------------------------------- DanielleWilczew2 years agoQrew MemberYeah, I was adding an email address (it's required to get the button to show) but then i was blanking it out in the screenshot bc habits lol. Here is the formula: var text url = URLRoot() & "db/" & [_DBID_Landing_Pages] & "?a=API_GenAddRecordForm&dfid=12&_fid_6=" & URLEncode ([Related Person])& "&z=" & Rurl(); "<a class='"&[GV_AppButtonClass]&" SaveBeforeNavigating' style='color: white; display:inline-block; white-space:nowrap; background: #b532b5; border:1px solid #999; text-align:center; text-decoration:none' href=\"" & 
 $url
 & "\""
 & ">Create New Report/Request</a>"And again, it's weird, because it works just fine when not in the ifv. I may be able to do a screengrab of the behavior - showing it works in regular, but not in ifv. 
 ------------------------------
 Danielle Wilczewski
 ------------------------------