since ‎14-11-2009
‎10-12-2019
fshuja
Level 1
Re: How to access form variables?
Avatar

fshuja

fshuja
- Adobe LiveCycle
I just found that i need to create variables like this form1.#subform[0].#variables[0].customerData - (JavaScript, client) var data= "faraz"; var cPage= 1; var tPages= 3; var showData= function() {app.alert('in show data');}; var showPager= function() {app.alert('in show pager');};then i can access from anywhere like thiscustomerData.showPager();orapp.alert(customerData.data);

Views

174

Likes

0

Replies

0
Re: How to access form variables?
Avatar

fshuja

fshuja
- Adobe LiveCycle
You have declared the customerData in the click event of button. I want to write the customerData in Form variable (i.e. global) so that i can access it from any event of any field.

Views

171

Likes

0

Replies

0
Re: How to access form variables?
Avatar

fshuja

fshuja
- Adobe LiveCycle
Now nothing happened on click.

Views

170

Likes

0

Replies

0
How to access form variables?
Avatar

fshuja

fshuja
- Adobe LiveCycle
I have created a form variable named customerData like this{ data: "faraz", cPage: 1, tPages: 3, showData: function() {alert('in show data');}, showPager: function() {alert('in show pager');}};Now i am trying to access the cPage from onclick of a button with this codeapp.alert(customerData.cPage);but its giving me undefiend.How to access the cPage, tPages values?

Views

1.5K

Likes

0

Replies

7
Re: How to create a rounded corner table?
Avatar

fshuja

fshuja
- Adobe LiveCycle
I am getting something like this (Check out the top-left and top-right corners they are not rounded)

Views

199

Likes

0

Replies

0
How to create a rounded corner table?
Avatar

fshuja

fshuja
- Adobe LiveCycle
How to create a rounded corner for a table like the attached image? The table is dynamic (Rows adds/delete at runtime) and i want to maintain the rounded corner.

Views

1.2K

Likes

0

Replies

3
Styling Drop-Down List?
Avatar

fshuja

fshuja
- Adobe LiveCycle
i want to stylize a drop down list like the image attached. How can i do that?I was able to modify the border easily. The main problem is the color of drop-downed text background colors (default and hover)thanks

Views

449

Likes

0

Replies

1
Text Field color?
Avatar

fshuja

fshuja
- Adobe LiveCycle
When i select a color using designer for Text Field, it is applied to both caption and the typing text inside the text field.I want a different color for text field type.How can i do this?thanks

Views

463

Likes

0

Replies

1
Textfield Caption on seperate line?
Avatar

fshuja

fshuja
- Adobe LiveCycle
hi,Using LiveCycle when drag the text field on a page the captions and text box are on same line.I want captions and text box on seperate line, how can i do this?thanksFaraz

Views

654

Likes

0

Replies

1
Geting embeded image from PDF?
Avatar

fshuja

fshuja
- Adobe LiveCycle
I have a PDF document in which there are some images embeded. I want to edit those images. The images are embeded into the PDF. When i click on image in LiveCycle Designer it shows me a embed link (./abc/someimage.png). How can i get that image?I want to get that image, edit in some photo editer and then again linked to the PDF.Any help?thanksFaraz

Views

526

Likes

0

Replies

2
Re: Text field auto suggestion!
Avatar

fshuja

fshuja
- Adobe LiveCycle
How to do it with drop down list?

Views

203

Likes

0

Replies

0
Text field auto suggestion!
Avatar

fshuja

fshuja
- Adobe LiveCycle
i want to create auto suggestion for a text field.As user type charcter(s) in the text field it will show the list of words to be selected.I have no idea how can i do it?Any help?thanksFaraz

Views

1.7K

Likes

0

Replies

5
Re: Radio button selected Color!
Avatar

fshuja

fshuja
- Adobe LiveCycle
To "Jono Moore"Yes thats exactly what i was looking for. I want to learn this xml of adobe forms. How and from where i can learn this? Any book/document?thanksFaraz

Views

777

Likes

0

Replies

0
Re: Radio button selected Color!
Avatar

fshuja

fshuja
- Adobe LiveCycle
Thanks for the help.Still in the attached document the selected color is black. How can i change that color?

Views

781

Likes

0

Replies

0
Radio button selected Color!
Avatar

fshuja

fshuja
- Adobe LiveCycle
The default color for a selected radio button is black. I want to change it to red or some other color?How can i change it?Is there any code snippet for XFA?thanksFaraz

Views

5.3K

Likes

0

Replies

10
Dropdownlist getting Value/Text?
Avatar

fshuja

fshuja
- Adobe LiveCycle
hi,In Dropdownlist we can set two values [Values, Text].I have created a dropdownlist with these values/text0/15001/20003/3000On change event of dropdownlist i can get the text usingxfa.event.newText (1500,2000,3000)how can i get the values (0,1,3) of the new selected text?thanksFaraz

Views

1.2K

Likes

0

Replies

1
Re: Javascript: Passing values to Print Dialog
Avatar

fshuja

fshuja
- Adobe LiveCycle
Can u please tell me the exact command i need to print pages 3-4,6,8I tried like this but its not workingxfa.host.print(1, "3,4,6,8", "4", 0, 1, 0, 0, 0);thanksFaraz

Views

508

Likes

0

Replies

0
Javascript: Passing values to Print Dialog
Avatar

fshuja

fshuja
- Adobe LiveCycle
hi,I have a PDF page containg 8 pages. On first page there is a Print button and some select boxes (Page1, Page2, .. Page8)I want to open Print Dialog with page numbers already set from the select boxes.Example: If i have checked Page1, Page 4 check boxes then Print Dialog should show the values in Print Rang > Pages [1,4]how can i do this using javascript?Please help me outthanksFaraz

Views

5.3K

Likes

0

Replies

10