cancel
Showing results for 
Search instead for 
Did you mean: 

Reg Pop up in adobe form

Former Member
0 Kudos

hi , Iam raising an error message using

xfa.host.messageBox("error message");

when i get the error message pop up...it has title..WARNING :JAVASCRIPT WINDOW.

But I want to remove this title....

So any idea ...hiow to remove this?

or any other procedure to raise POPUP with our own title

regards

Arjun

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi arjun,

Did u fix the issue,

I am facing the same. If u fixed the issue,kindly share with me...

Thanks

L.S.Parthasarathi

Former Member
0 Kudos

Hi Arjun,

You can use the following JavaScript to get UserDefined Title or password protect popup box (i.e. popup box input field becomes password field) for the Pop-Up Box.

Response Box i.e app.response Method

It takes the following Input Arguments:

1. Argument : Description

2. cQuestion : Main Response Box text

3. cTitle : Window Title of Response Box

4. cDefault : Initial value of input text box, also value returned if no changes are made

5. bPassword : Causes text entered into input box to be obscured by asterisks (*)

6. cLabel : Short text string placed in front of input box

Sample Code:

var cRtn = app.response ();

NOTE: In the sample code if you donot add the cLabel then the input of the popup box is simple text and it will not become password field.

Please review the Acrobat site:

http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/popup_windows_part2/

Regards

Pradeep Goli

Former Member
0 Kudos

Hi Arjun,

You can use parameters with messagebox as listed below:

FormCalc syntax

$host.messageBox( STRING param1 [, STRING param2 [, INTEGER param3 [, INTEGER param4 ] ] ] ) 

Parameters

param1 - A valid string representing the message to display.

*param2 (Optional) - A valid string representing the title to appear in the title bar of the dialog window. *

param3 (Optional)

An integer representing the icon to display in the dialog box.

0 (Error) - This is the default.

1 (Warning)

2 (Question)

3 (Status)

param4 (Optional)

An integer representing the buttons to display.

0 (OK) - This is the default.

1 (OK, Cancel)

2 (Yes, No)

3 (Yes, No, Cancel)

Regards,

Arafat