On my form I have a button, called "Instruction".
When the user clicks on it, I present him with a message box expalining key points about the form and the fields.
Here a dummy example:
xfa.host.messageBox("Hello Everyone! The form contains 5 required field identied by Red border. Make sure you fill them before submitting the form. To calculate the winner percentage you Must fill in the number of tables first."
, "INSTRUCTION", 3);
There must be a way to insert a line in a message box, such as chr(13).
What's the syntax?
Solved! Go to Solution.
Views
Replies
Total Likes
To enter a CR in a string for javascript use a \n in the text of your string.
paul
Views
Replies
Total Likes
To enter a CR in a string for javascript use a \n in the text of your string.
paul
Views
Replies
Total Likes
Can we get an example here?
Views
Replies
Total Likes
Here's an example:
xfa.host.messageBox("Hello\n\nthis is\na message with\nline breaks!", "Message", 0, 0);
Views
Replies
Total Likes
Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies