Forum Discussion
PeterGacek
Qrew 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
3 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
------------------------------
- MarkShnier__You3 years agoQrew ChampionI suggest that you have the user save the record and put the button to email on the form but set to only show in view mode. The other choice is to not use that type of emailing and instead create what is called an email notification. Are you familiar with email notifications?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - PeterGacek3 years agoQrew CadetHey Mark,
Thank you for responding, I actually currently have it so the email button only shows in view/edit mode.
I've gone the notification route as well but it wasn't the preferred method per my co-worker's input though I may circle back to it. I was just hoping there might be some sort of onClick event I could slip into my formula but if it's not really possible then I'll stick with just hiding the buttons in add mode.
Thanks again for your help
------------------------------
Peter Gacek
------------------------------