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
BedrockMission!

Learn more

View all

Sign in to view all badges

whyisthisme
Community profile whyisthisme Level 7
Job title here
Location here
26 BADGES
Level 7

Level 7

Learn more
Joined the community 03-08-2011 11:16:58 PM
Offline
Top badges earned by whyisthisme
Customize the badges you want to showcase on your profile
Exit event not firing on tab
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
I have a dropdown list in the last column in a table row. In the exit event of that dropdown there is an if statement to change the presence of something depending on the selection. In testing I have found that if you tab out of the list rather than click the exit event isn't firing, but it you click if works fine. Anyone have any ideas why?

Views

898

Likes

0

Replies

3
Re: How to insert table rows dynamically?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
You have a table within a table so maybe check for the rows/table within each one

Views

629

Likes

0

Replies

0
Re: How to insert table rows dynamically?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
the repeating rows when you reopen the form probably have something to do with the binding. Under Object > Binding just make sure the 'Repeat Row for each data item' box is only clicked on the actual row you are repeating and not the whole table.

Views

605

Likes

0

Replies

0
Re: How to insert table rows dynamically?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Were you using java or formcalc when you got the error? I recreated your table and the code works in formcalc.In regards to the insertIndex working in the first row I think that may be because you are always referencing the first row (R_Activity).

Views

605

Likes

0

Replies

0
Re: How to insert table rows dynamically?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
You could just do (in formcalc):T_Activities.R_Activity[$.parent.parent.parent.index].instanceManager.addInstance()

Views

611

Likes

0

Replies

0
Re: Changing a subform's presence based on drop down selection
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Maybe the problem is what you are referencing. The if statement could be something like if ($.formattedValue == "Round") ....You could also just do an 'else' rather than an 'elseif' if you don't have any other options.Also I find for drop-downs it works better putting the script in the exit event rather than the change event.

Views

84

Likes

0

Replies

0
Re: Converting less than symbol to < in for loop
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
try <=but can I ask why you are writing your script in the xml tab rather than the script editor?

Views

94

Likes

0

Replies

0
Re: How do make 3 dropdown menus dependant on each other.
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
An example of how to do it in formcalc would be (in the preOpen statement of the 2nd dropdown):if (DropDownList1 == "E_COMM") then$.clearItems()$.setItems("E_COMM_1_Ananlytical & Process,E_COMM_1_Asset Planning & Sourcing")elseif (DropDownList1 == "E_ENGC") then$.clearItems()$.setItems("E_ENGC_1_Chemical Engineer,E_ENGC_2_Chemical Engineer")endifYou could then do something similar in the 3rd box. The logic is the same for a java switch statement just the syntax is different.

Views

121

Likes

0

Replies

0
Re: How do make 3 dropdown menus dependant on each other.
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
You can use the preOpen event of each dropdown list to populate them. So your switch statement would use this.clearItems and then this.setItems(" , , ") for each option.

Views

117

Likes

0

Replies

0
Re: Livecycle designer ES2 regarding registration for activities at a conference.
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
if you want to do it via error message then you could put in the exit event of each box something like (in formcalc):if ($.rawValue == DropDownList2.rawValue) thenxfa.host.messageBox("You cannot choose the same activity")endifOtherwise you could just use the preOpen event of each box to reset the dropdown list options and remove the option that has already been selected.

Views

77

Likes

0

Replies

0
Re: Reader Extensions workflow
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Thanks but this is a cloud-based solution. I need something that isn't online for this particular form, it is for an internal document.

Views

139

Likes

0

Replies

0
Re: Reader Extensions workflow
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Thanks. Do you have a link to where I can find out more information about this?

Views

104

Likes

0

Replies

0
Reader Extensions workflow
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
I make XFA forms and usually just add reader extensions through Acrobat but now have a form from which I will need to extract data from more than 500 users so can't do it this way. Can I just purchase the Reader Extension module to allow me the license to do this and if so what is the workflow for this module?Thanks.

Views

708

Likes

0

Replies

4
Re: Text field Lay-out position
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
you could do it as table rather than seperate text boxes. That way each column would keep its position.

Views

85

Likes

0

Replies

0
Re: Giving a Check box a value
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Under Object > Binding for the checkbox you can set the "On Value" and "Off Value". They are automatically 1 and 0 but you can make them whatever you want.

Views

96

Likes

0

Replies

0
Re: Creating mandatory field when form is visible only
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
you can see from the error message that your subform is called page5506 with a small 'p' but you have used a 'P' in the code

Views

306

Likes

0

Replies

0
Re: Why can't I get the average function work with empty cells?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
because it is doing a division by 0 which is invalid. Just put in an if statement that only does the calculation is the field is not null.

Views

95

Likes

0

Replies

0
Re: The subform is not configured to be repeatable
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Under Object > Binding for the row you want to repeat you have to make sure you have 'Repeat Row for Each Data Item' checked

Views

409

Likes

2

Replies

0
Re: Creating mandatory field when form is visible only
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
it looks like you have written 'Page5506' with a capital 'p'. It is case sensitive so try putting it back to a lowercase letter.

Views

306

Like

1

Replies

0
Re: Adobe LiveCycle Designer - Counter question
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
in the "change" event of each checkbox put something like (in Formcalc):if ($ == 1) thenvalue = value + 0.5else value = value - 0.5endif- where 'value' is the name of the field you want the value to show up

Views

272

Likes

0

Replies

0
Re: Creating mandatory field when form is visible only
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Well the exact code will depend on what you have called your pages (subforms) but to do the above make sure you have the script editor showing (under the Window menu - or Ctrl + Shift + F5 on a PC). FormCalc is the language (there is a dropdown on the right side of the script editor). On the left side there is a dropdown called Show which has all the 'events' in it. So to put that code in choose one of the radiobuttons from your hierarchy and choose the layoutReady event. Make sure the language ...

Views

306

Like

1

Replies

0
Re: How to distribute subforms across pages without splitting them?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Click on the subform in the hierarchy. Under Object >Subform unclick "Allow Page Breaks within Content".

Views

157

Likes

0

Replies

0
Re: Creating mandatory field when form is visible only
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
there are a few ways to do it depending on how you have set the form up. You could put the code in the exit event of the dropdown list or in the layoutReady event of the radio buttons. The logic is the same - basically you use the "presence" (whether it is visible or hidden) to decide whether the "nullTest" is on or not (this makes it mandatory - "error" is on). So for example you culd put this code in the radiobuttons in the layout event (in FormCalc):if (Subform1.presence == "visible") then$.v...

Views

305

Likes

0

Replies

0
Re: Radio button creates mandatory field
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
try this:if (RadioQ2.rawValue=="2"){Q2.validate.nullTest = "error";}else {Q2.validate.nullTest = "disabled";}

Views

654

Likes

0

Replies

0
Re: down box to display a list of the items based on what was selected in another drop down box
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
In the preOpen event of the second dropdown list you put something like (in formCalc):if (dropdown1 == 1) then$.clearItems()$.setItems("Year, 2 Year, 3 Year")elseif (dropdown1 == 2) then$.clearItems()$.setItems("3 Year, 4 Year")endif

Views

125

Likes

0

Replies

0
Re: Table row number increase after applying usage rights
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
Yes I have had this problem before. It is because when you apply reader rights it changes how many times the events fire. If you only want one version of the row just untick the "repeat row for each data item" box on that row.

Views

101

Likes

0

Replies

0
Re: Table doesn't appear
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
It sounds like the table is set to visible (print only). This setting can be found in Object > Table > Presence. Just change it to visible.

Views

73

Likes

0

Replies

0
Re: How do I set a subform to repeat based on a value chosen from a dropdown list?
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
In the exit event of the dropdown, in formcalc, put something like:var teams = $.rawValuevar counter = 1while (counter < teams) doSubform2.instanceManager.addInstance()counter = counter + 1endwhilethis assumes you already have 1 version of the subform. If you are starting with none make the while condition (counter <= teams)

Views

89

Likes

0

Replies

0
Re: Expand rows of dynamics table
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
I'm not 100% sure of what you are asking... but if you mean that one row should expand as more data is entered into it then all you need to do is make sure the cell is marked 'Expand to fit' under Layout > Height.

Views

45

Likes

0

Replies

0
Re: Newbie scripting question- dropdownlist
Avatar
Give back 300
Level 7
whyisthisme
Level 7

Likes

41 likes

Total Posts

324 posts

Correct reply

59 solutions
Top badges earned
Give back 300
Ignite 5
Ignite 3
Give Back 200
Give Back 100
View profile
whyisthisme
- Adobe LiveCycle
You are almost there. All you need to do is this:if (form1.Account_Client_Information.Owner_subform.recipiant_type >= 1 and form1.Account_Client_Information.Owner_subform.recipiant_type <= 4) then$.clearItems()$.setItems("TA- Tax Letter, Bunch of stuff")elseif (form1.Account_Client_Information.Owner_subform.recipiant_type >= 5 and form1.Account_Client_Information.Owner_subform.recipiant_type <= 7) then$.clearItems()$.setItems("other stuff, Bunch of other stuff")endif

Views

69

Likes

0

Replies

0
Likes given to