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

whyisthisme
whyisthisme
Offline

Badges

Badges
26

Accepted Solutions

Accepted Solutions
59

Likes Received

Likes Received
41

Posts

Posts
324

Discussions

Discussions
11

Questions

Questions
313

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by whyisthisme
Customize the badges you want to showcase on your profile
Re: A repeating dynamic table with a sum total row showing or hiding fields - Adobe LiveCycle 26-05-2014
try putting your code in the calculate event

Views

445

Likes

0

Replies

0
Re: Calculating the time difference between to fields - Adobe LiveCycle 15-05-2014
The result should be the number of hours/minutes difference - but yes with that pattern it shows as a time.To make sure the end time is after the start time use Time2Num for both and then make sure the number of the end time is larger than the number of the start time.

Views

784

Likes

0

Replies

0
Re: Calculating the time difference between to fields - Adobe LiveCycle 12-05-2014
You would use the functions Time2Num and Num2GMTime to do this. In the calculate event of the total time field you would put something like (in formcalc):var startT = StartTime.formattedValuevar endT = EndTime.formattedValuevar differenceT = Time2Num(endT, "HH:MM:SS") - Time2Num(startT, "HH:MM:SS")$ = Num2GMTime(differenceT, "HH:MM:SS")- the "HH:MM:SS" bit should be whatever time pattern you have used.

Views

805

Likes

0

Replies

0
Re: adding dropdown categories to script - Adobe LiveCycle 11-05-2014
If Limbo1, Limbo2 etc are in the same dropdown and you want them to do the same thing then just add them to if statement:if(this.rawValue == "Limbo" || this.rawValue == "Limbo 1" || this.rawValue == "Limbo 2")

Views

363

Likes

0

Replies

0
Re: Forcing a text field to not accept smaller value than 3 - Adobe LiveCycle 11-05-2014
It is probably best to use a numeric field rather than a text field if you only want numbers but either way you can put in the exit event of the field (in formcalc):if ($ < 3) thenxfa.host.messageBox("The value cannot be less than 3")$ = ""endif

Views

596

Likes

0

Replies

0
Re: How do I calculate the average of ONLY the populated fields? - Adobe LiveCycle 08-05-2014
In formcalc the function Avg will calculate the average of only the fields with a value in them. So you would would put in the calcuate event of the average field:$ = Avg(Q1S1,Q1S2,Q1S3,Q1S4, etc)

Views

455

Likes

0

Replies

0
Re: Problem with formcalc code not properly executing in a dynamic table - Adobe LiveCycle 06-05-2014
you need to put "Sum()" around Table2.Row1[*].staffrequired as you have for shortdays

Views

411

Likes

0

Replies

0
Re: Hyperlink to a Page in the current document ? LiveCycle v8.2 - Adobe LiveCycle 06-05-2014
you would put it in an event (such as the click event) for the text you want to hyperlink

Views

557

Likes

0

Replies

0
Re: Livecycle ES2 Footer TextField not Populating. - Adobe LiveCycle 06-05-2014
Can I suggest trying the code the other way around. So in the masterpage footer put something like (in formcalc):if (Page1.title.isnull == 0) then$ = Page1.titleelse $ = ""endif- obviously changing the name of Page1.title to whatever your field is called. You can put that in the layoutReady event of the footer

Views

489

Likes

0

Replies

0
Re: Hyperlink to a Page in the current document ? LiveCycle v8.2 - Adobe LiveCycle 04-05-2014
you can use:xfa.host.setFocus("placeYouWantToGo")to move about within the document

Views

558

Likes

0

Replies

0
Likes given to