I want to use JavaScript in LiveCycle Designer at Combo Box when select "Sunday" it will have to show this message "Sunday a rest day", kindly help me i'll be very thankful to you.
Tufail Shahzad
Tufail
My Product Information:
LiveCycle Designer, Windows
To have this show after the selection is confirmed by exiting the field, for the 'exit' event you can use:
if($ =="Sunday") thenxfa.host.messageBox("Sunday is a day of rest","Your selection:",3,0)endif
More information about the 'if' statement and 'messageBox' method is in the 'Scripting Reference' option under the 'Help' menu option of LiveCycle Designer.
More information about the 'if' statement and 'messageBox' method is in the 'Scripting Reference' option under the 'Help' menu option of LiveCycle Designer.
George Kaiser