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

dang_randy
dang_randy
Offline

Badges

Badges
11

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
3

Posts & Comments

Posts & Comments
20

Discussions

Discussions
0

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by dang_randy
Customize the badges you want to showcase on your profile
Re: How Do I Create Conditionally Required Check Boxes? - Adobe LiveCycle 19-07-2013
Clinton,close, but check how what the ravwalue will be when it is off or on. so i would do the following://if yes, then it opens the childif (parentcheckbox.rawValue == 1){ childbox1.access = "open" ...so forth}//if no, it will make the child readOnly and remove checks if they existif (parentcheckbox.rawValue == 0){ childbox1.access = "readOnly" childbox1.rawValue = "0" so forth for each childbox}//you can also use a case switch, but since this is only 2 options, if statements work well.//childb...

Views

226

Likes

0

Replies

0
Re: How Do I Create Conditionally Required Check Boxes? - Adobe LiveCycle 18-07-2013
additionally, in the parent checkbox you may want to add .rawValue = "" code. so if they first click the checkbox and then decide to uncheck, the child will need to be reset.let me know if you have any questions or I can help further.

Views

213

Like

1

Replies

0
Re: How Do I Create Conditionally Required Check Boxes? - Adobe LiveCycle 18-07-2013
Clinton,I am not sure how you check for required, do they submit via button?it will definitely be a challenge if they need to select at least one. so what I would normally do, is I have the code in each parent object which will open the child. I then use the submit button to check for required. here is what I would write.keep in mind, what values you setup in your checkbox:in the chebox parent:if (this.rawValue == 1){childbox1.access = "open"childbox2.access = "open" //do this for all your child...

Views

212

Like

1

Replies

0
Re: Loops through listbox for value, if does not exist, provide a error message. - Adobe LiveCycle 18-07-2013
FYI, here is my code:var oArr = [textbox].rawvaluevar oList = xfa.resolveNode([listbox].somExpression);var oListIndex;while (oArr.length!=0){oListIndex = [listbox].boundItem(oArr.pop());oList.setItemState(oListIndex-0,1);}

Views

127

Likes

0

Replies

0
Loops through listbox for value, if does not exist, provide a error message. - Adobe LiveCycle 18-07-2013
Hello:I have a listbox with Profession (text) and Price (value). I am using another field which they type in the profession. if the profession exists, bring back the price, if not, show an error message instead. Has any encountered this or know how I would go about solving scripting this?My loops looks for the values but if it isnt found, it will just go to the first entry.

Views

423

Likes

0

Replies

1
Re: Hyperlinks that open on a new page - Adobe LiveCycle 16-07-2013
Ashr1971,try this:app.launchURL("[enter the URL here]", true);

Views

200

Likes

0

Replies

0
Re: Text field tool appearance - Adobe LiveCycle 16-07-2013
forgot to mention, i usually put it in the initialize event but you can place it depending on your situation, also add statement and/or loops where need be.

Views

164

Likes

0

Replies

0
Re: Text field tool appearance - Adobe LiveCycle 16-07-2013
Marcie77,I am not sure how or if you can change the color of the value box while in design mode so it can be easier to view. But here is the code you can use to change the value box border using code which will appear when you use the PDF.this.ui.resolveNode("#textEdit").border.edge.color.value = "0,101,164"; //whatever RGB color you want to usethis.ui.resolveNode("#textEdit").border.edge.thickness = "0.0200in" //the thickness of the borderyou will need to change "#textEdit" depending on field t...

Views

164

Likes

0

Replies

0
Re: Get rawvalue(index) from Listbox using FormattedValue - Adobe LiveCycle 16-07-2013
additionally, the above code was used to figure out what the index was for a specific formattedvalue in a listbox. here is the code which I used to use it to look up a value in another listbox. check = xfa.resolveNode([listbox 2 which has the value you need).getDisplayItem([listbox1 where you selected the formattedvalue in the code above]);

Views

299

Like

1

Replies

0
Re: Get rawvalue(index) from Listbox using FormattedValue - Adobe LiveCycle 16-07-2013
I resolved my issues. here is the code I developed to get the job done. it could be simplified a little further but it worked well.I put it in the enter action.var checkValue = [dropdown1].rawValue + [dropdown2].formattedValue + ", "var oArr = checkValue.split(", ");var oList = xfa.resolveNode([listbox with the index and concat values].somExpression);var oListIndex;while (oArr.length!=0){oListIndex = oList.boundItem(oArr.pop());oList.setItemState(oListIndex-0,1);}NOTE: You can add if statement t...

Views

266

Likes

0

Replies

0
Likes given to
Likes from