Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Hibou
Hibou
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
8

Discussions

Discussions
0

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Hibou
Customize the badges you want to showcase on your profile
Re: change coordinate X and Y by select DropDownList value - Adobe LiveCycle 30-07-2013
I have written the following code on the Exit function of the dropdown to move the subform: if(this.rawValue=="Move"){ form1.Page1.Subform.x="2.0in"; //X coordinate of the subform form1.Page1.Subform.y="4.0in"; //Y coordinate of the subform}

Views

324

Likes

0

Replies

0
Re: mandatory field - Adobe LiveCycle 25-07-2013
2 ways of doing this:You make the rest of the fields wrapped in a subform and then set visibility of the subform so that only when field is non-empty the subform is visible, by setting property : Subform.presence="visible".You can set the access levels of the fields initially to protected and later only in case field is non-null enable users to edit the fields, using the access property: TextField.access="open"; //"open" to unprotect the fields

Views

160

Likes

0

Replies

0
Re: focus and clear text field if it validated - Adobe LiveCycle 25-07-2013
Yes thats right just checked it again..Is there smething else you are expecting?Have I missed something?

Views

455

Likes

0

Replies

0
Re: Autofill fields with text based on the calculation of another field - Adobe LiveCycle 25-07-2013
Example:if(Textfield1.rawValue==15){Textfield2.rawValue="Moderate"; //Setting value of Textfield2 to Moderate since Textfield1 is 15this.fillColor="255,140,0"; //fillColor is used to set the field color}

Views

74

Likes

0

Replies

0
Re: focus and clear text field if it validated - Adobe LiveCycle 25-07-2013
I tried removing all the pattern validations on the field and added this below code in the validate event of the text field and it works..var strCode;var f = /^([A-Z]{2}[1-9]{5}[A-Z])$/;if(this.rawValue != null && String(this.rawValue) != "") { strCode = String(this.rawValue); if (f.test(strCode) == false) { xfa.host.messageBox("Invalid pattern!"); xfa.host.resetData(); xfa.host.setFocus(this); } }xfa.host.setFocus(this);

Views

456

Likes

0

Replies

0
Re: I am trying to masked an SSN field depending on if yes is choosen or not - Adobe LiveCycle 23-07-2013
I tried the same code on a single field on exit event, with just one modification: Maskedfld2 replaced with Maskedfld1It does mask the value.Can you please be more specific as to what is the expected behaviour.Thanks

Views

313

Likes

0

Replies

0
Re: ES3 - Calculation = neg number and want it to be 0 or greater - Adobe LiveCycle 22-07-2013
To calculate the difference make use of: var diff= (Actual.rawValue - Estimate.rawValue);if(diff < 0){this.rawValue=0;}else{this.rawValue=diff;}To calculate the percentage difference you could make use of:var diffPer= (Actual.rawValue/ Estimate.rawValue);if(diffPer < 1){this.rawValue=0;}else{this.rawValue=diffPer;}

Views

121

Likes

0

Replies

0
Re: change field's layout by selecting DropDownBox value - Adobe LiveCycle 22-07-2013
The x and y coordinates can be accessed as:TextField.x and TextField.ySo to be able to move the textfield you should use the below script in the Exit event of the dropdown:if(this.rawValue=="Move"){ TextField.x="2.0in"; TextField.y="4.0in";}

Views

339

Likes

0

Replies

0