Forum Discussion
PeterGacek
5 years agoQrew Cadet
Hey @Mike Tamoush,
Instead of the user having to press the save & continue or save & close button before being able to email the form, would I be able to integrate something into my button formula so it can save and then trigger the email action?
I'd likely still keep the button to only show in edit or view mode but curious if it were possible otherwise as you had mentioned it previously. Here's my current code:
var UserList MyUserList = ToUserList([Send form to:], ToUserList([Last Modified By]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Job site inspection form ID#]
& "&tolist=" & UserListToEmails($MyUserList)
Thanks,
------------------------------
Peter Gacek
------------------------------
Instead of the user having to press the save & continue or save & close button before being able to email the form, would I be able to integrate something into my button formula so it can save and then trigger the email action?
I'd likely still keep the button to only show in edit or view mode but curious if it were possible otherwise as you had mentioned it previously. Here's my current code:
var UserList MyUserList = ToUserList([Send form to:], ToUserList([Last Modified By]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Job site inspection form ID#]
& "&tolist=" & UserListToEmails($MyUserList)
Thanks,
------------------------------
Peter Gacek
------------------------------
PeterGacek
5 years agoQrew Cadet
Hey @Mark Shnier (YQC),
​Wondering if you possibly had input on this as I just started looking at things again and still haven't been able to make things work but I feel like I'm overthinking it. I'm wondering if I can also have my email button automatically save the form before triggering the email when clicked.
Here's the current formula:
var UserList MyUserList = ToUserList([Send form to:], ToUserList([Last Modified By]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Job site inspection form ID#]
& "&tolist=" & UserListToEmails($MyUserList
Thanks again for all your help previously,
------------------------------
Peter Gacek
------------------------------
​Wondering if you possibly had input on this as I just started looking at things again and still haven't been able to make things work but I feel like I'm overthinking it. I'm wondering if I can also have my email button automatically save the form before triggering the email when clicked.
Here's the current formula:
var UserList MyUserList = ToUserList([Send form to:], ToUserList([Last Modified By]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Job site inspection form ID#]
& "&tolist=" & UserListToEmails($MyUserList
Thanks again for all your help previously,
------------------------------
Peter Gacek
------------------------------