Curtis_M
6 years agoQrew Cadet
Submit Button w/o JavaScript
Hi,
I have a bit of a dilemma.
From my understanding, JS will not be supported within buttons in the near future.
How can I create a submit button for a form without using JS?
The issue I run into using the following line of code:
URLRoot() & "db/" & [_DBID_ELS_OPS_SUPPORT] & "?a=API_EditRecord&AppToken=" & $Token & "&rid=" & URLEncode ([Record ID#])& "&z=" & Rurl()
& "&_fid_113=true"
& "&_fid_114=" & Now()
;
Is that it needs a record ID# to reference. If the record has yet to be saved, then it won't have one to edit and check a box. So it tells me the record does not exist.
I have tried to redirect it to creating a fake child then redirecting back since that triggers a save, but it happens too fast and I end up with the same result.
I am hoping someone knows of another solution.
Thank you.
------------------------------
Curtis Middleton
------------------------------
I have a bit of a dilemma.
From my understanding, JS will not be supported within buttons in the near future.
How can I create a submit button for a form without using JS?
The issue I run into using the following line of code:
URLRoot() & "db/" & [_DBID_ELS_OPS_SUPPORT] & "?a=API_EditRecord&AppToken=" & $Token & "&rid=" & URLEncode ([Record ID#])& "&z=" & Rurl()
& "&_fid_113=true"
& "&_fid_114=" & Now()
;
Is that it needs a record ID# to reference. If the record has yet to be saved, then it won't have one to edit and check a box. So it tells me the record does not exist.
I have tried to redirect it to creating a fake child then redirecting back since that triggers a save, but it happens too fast and I end up with the same result.
I am hoping someone knows of another solution.
Thank you.
------------------------------
Curtis Middleton
------------------------------