Need some script help.

Discussion created by hopkinsprinting on Dec 13, 2018
Latest reply on Dec 13, 2018 by hopkinsprinting

Hi all,


I have a DB (published via IWP (FileMaker 12)) that emails user provided input and all is working well but I would like to add an improvement based on user feedback:


I would like to add a layout that shows only if the data was successfully submitted so the user knows. I have a separate database that performs a similar function and contains this sort of functionality (was built by a consultant) but I am not sure if the code I found in the "Submit" script is what I need (the first line of the script is what I am questioning as it doesn't...seem...to fit):


if [// If Web App / IWP PatternCount(Get(ApplicationVersion);"Web")]

Go to Layout ["Successful" (Submissions))]

Perform Script ["Exit"]

End if


Any help or code samples is appreciated. Thank you,