Hi All, has anybody tried to create in SmartForms a standard Dialogue box for responses from users other than just OK?
I have a need to tell the client if they perform this action X it will wipe their previous responses.
I'd like a standard Dialogue Message box that allows me to have Yes, No, and Cancel.
The Standard Message rule only gives OK as the response.
Again any help would be appreciated.
I've tried making a form but it looks ugly.
Regards
Keith
Best answer by RaymondJVR
Hi Keith,
The best way would be to use a subview instead of a subform to display the message with the Yes, No & Cancel buttons. You then configure your Form to open the subview when required, and on the Form you will have to structure a rule (On Subview - (On View, when Delete Button is Clicked) subview, when Yes Button is Clicked)
which will access the subview and and set a text box to a value on you main view depending on which selection was made on the subview.
I have attached a package called "Keith Package.kspx" to this post which demonstrates the exact outcome you require. Please use Package and Deployment to deply this package.
Package use Instruction:
Enter an ID and load, then click delete and choose yes, no or cancel on the subview. you will notice that depending on your selection made the Response text box will be poulated and only on the Yes click will the record be deleted.
Kind Regards,
Raymond