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

tygerfarr
Community profile tygerfarr Level 2
Job title here
Location here
7 BADGES
Level 2

Level 2

Learn more
Joined the community 15-03-2012 8:18:13 AM
Offline
Top badges earned by tygerfarr
Customize the badges you want to showcase on your profile
Re: if/else statement help
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
AgeVerify has a script that calcualtes the actual age. it is hidden in the form and only there for calculation purposes for this script. So i suppose technically, it does contain an actual age. eg. 31

Views

118

Likes

0

Replies

0
Re: if/else statement help
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
When i put this script in, and put like 2 weeks ago as the DOB, i still can't check the dental box unless i have a valid SSN. If they are less than one year, we won't need a SSN.

Views

114

Likes

0

Replies

0
if/else statement help
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
This is the script that i have, and it works, I just need to add something to it.if (this.rawValue == "1" && SSN.isNull) {SSN.mandatory = "error";app.alert ("Dependents 1 year and older must have a valid SSN to be eligible for Dental coverage.");this.rawValue == 0;}else if (this.rawValue == 1){SSN.mandatory = "disabled";}I need to make this also verify that AgeVerify field is greater than 1. if not return an unchecked box and have pop up message.in other words, the person has to be 1 year old an...

Views

848

Likes

0

Replies

4
Re: if/else with verify
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
This script does what i want, i just need to add the verify "age" field thing.

Views

90

Likes

0

Replies

0
Re: mandatory fields not in red...
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
if (("DepYes").rawValue == "1"){ Hidebox.IfYes.presence = "visible"; Hidebox.Policy.presence = "visible"; Hidebox.TypeCov.presence = "visible"; Hidebox.CovPerson.presence = "visible"; Hidebox.IfYes.mandatory = "error"; Hidebox.Policy.mandatory = "error"; Hidebox.TypeCov.mandatory = "error"; Hidebox.CovPerson.mandatory = "error"; }else (("DepNo").rawValue == "2"){ Hidebox.IfYes.mandatory = "disabled"; Hidebox.Policy.mandatory = "disabled"; Hidebox.TypeCov.mandatory = "disabled"; Hidebox.CovPerson...

Views

610

Likes

0

Replies

1
if/else with verify
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
This is the script i have in the Change event of a checkbox:if (xfa.resolveNode("this").rawValue == "1" && SSN.isNull){ SSN.mandatory = "error"; app.alert("Please fill in the Dependent SSN portion of this form."); }else { SSN.mandatory = "disabled"; }I also need this to verify that the "age" field is >= 1, if not return a message.

Views

549

Likes

0

Replies

3
Re: mandatory fields not in red...
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
As i said before. If i put Hidebox.ifYes.mandatory = "error";then Hidebox.IfYes.presence = "visible"; this doesn't happen. Hidebox.IfYes.presence = "visible"; this works (making the field visible) with Hidebox.ifYes.mandatory = "enabled"; Hidebox.IfYes.presence = "visible"; this does not work (making the field visible) with Hidebox.ifYes.mandatory = "error"; does that make any sense?

Views

610

Likes

0

Replies

3
Re: mandatory fields not in red...
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
If i put "error" in, none of the fields become visible.Almost like it's not executing them in the order it should.

Views

610

Likes

0

Replies

5
mandatory fields not in red...
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
I am working with radio buttons in the Click event. This is my script:if (xfa.resolveNode("DepYes").rawValue == "1"){ Hidebox.IfYes.presence = "visible"; Hidebox.Policy.presence = "visible"; Hidebox.TypeCov.presence = "visible"; Hidebox.CovPerson.presence = "visible"; Hidebox.IfYes.mandatory = "enabled"; Hidebox.Policy.mandatory = "enabled"; Hidebox.TypeCov.mandatory = "enabled"; Hidebox.CovPerson.mandatory = "enabled";}else (xfa.resolveNode("DepNo").rawValue == "2"){ Hidebox.IfYes.presence = "h...

Views

1.7K

Likes

0

Replies

7
Re: if/else scripts
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
I am using it in the Change event of the checkbox. And that worked Perfect! I knew i was missing something small. what about the adding the =<1 ?

Views

110

Likes

0

Replies

0
if/else scripts
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
I am trying to make this where if this checkbox is checked then it checks to see if SSN has a correct number in it or it returns an error.This is what i have in there now.if (xfa.resolveNode("this").rawValue == "1"){ SSN.mandatory = "error"; app.alert("Please fill in the Dependent SSN portion of this form."); }else { SSN.mandatory = "disabled"; }This works all too well. if they do have a number in the field, it still gives the error. I need that not to happen.Also, I need another checkbox to do ...

Views

537

Likes

0

Replies

2
LiveCycle/Java Issues
Avatar
Ignite 5
Level 2
tygerfarr
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
tygerfarr
- Adobe LiveCycle
I am using Livecycle es2 and i don't know if i'm doing anything the right way. I am trying to make it where the end user puts in a date and it is automatically inserted into a letter. I have the following script in the exit event.var newText = form1.Letter.Text1.rawValue.replace ("[date]", this.editValue);form1.Letter.Text1.rawValue = newText;This makes it change, but only the first time. If they go back to change the date again, it won't change. I don't know if my script is wrong or if the exit...

Views

986

Likes

0

Replies

1