on 05-05-2008 6:03 PM
I would like to add a popup window to certain elements on the form, like if choosing an option from a radio gomb, or clicking on a field, I could show a warning window.
Is this possible anyhow?
Thanks, Peter
You can use the following line of code
xfa.host.messageBox( "Your message here");
regards,
harman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
You can give the following code on the exit event of the field where you want to place the warning message:
xfa.host.messageBox("Warning text");
Regards,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
MessageBox has several parameters using which you can show the message as an Error , warning, Question or status.
$host.messageBox( "Message", "Title", Message Type, Button to Display)
Message Type parametr can have following Integer values:
0 (Error) - This is the default.
1 (Warning)
2 (Question)
3 (Status)
and Button to Display parameter has following values:
0 (OK) - This is the default.
1 (OK, Cancel)
2 (Yes, No)
3 (Yes, No, Cancel)
Hope this helps.
Amit
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.