How do I make it so that when yes is selected on a radio set button - a popup or show dialog displays to ask the user to e-mail a specific e-mail address? and if no is selected - do nothing
Setting up script triggers - FileMaker Pro 16 Help
If you want the action to happen on a per-field basis, then it's appropriate to use an OnObjectModify script trigger. This will run a script any time a field value is changed.
As for the script, a simple IF statement script can suffice:
If [ table::field = "yes" ] Show Custom Dialog [ "Send Email" ; "You selected yes. Please send an email to ______." ]End If
If [ table::field = "yes" ]
Show Custom Dialog [ "Send Email" ; "You selected yes. Please send an email to ______." ]
The other option commonly used is to script the "save" button, in your case the one in the top left that says "save record", so that the same above condition is evaluated. This also gives you the opportunity to script any other validation you want, like checking for empty fields, or combinations of yes/no that should not be allowed.
Thank you I knew it was something simple I'm just very beginner.
Sure thing, you may want to check out New to FileMaker as well.
Feel free to mark an answer as 'correct'. Then everyone searching sees there is a solution.
Retrieving data ...