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

Magus069
Community profile Magus069 Level 10
PDF Form Developer
Canada
41 BADGES
Level 10

Level 10

Learn more
Joined the community 07-08-2013 3:28:54 PM
Online
Top badges earned by Magus069
Customize the badges you want to showcase on your profile
Re: How to identify the last instance of a dynamic table row
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hey there, technically it's the same process as Bruce mentioned above. Simply use the resolveNode method to access the desired repeated subform by calling its count property by using the instanceManager with one of these ways:_AddContact.count - 1 //or AddContact.instanceManager.count - 1//resultPageName.resolveNode("AddContact[" + (PageName._AddContact.count - 1) + "].ContactT.Row1.ContactP.rawValue");In the case that you have to specify which instance of Row1, you would have to add an addition...

Views

38

Like

1

Replies

1
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi, sorry for the delay, you can try the gofile link once again, the file should be there. For the signature validation it is sketchy... I've already managed to get some work done with the fields but it is not that easy. A digital signature can't be verified in any given event. It's very specific to certain events. There's too many security restrictions related to the field that it is not very friendly to work around with its data.

Views

103

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Here is the document with the comments for the code I provided you with. Let me know if you have any questions. https://gofile.io/d/grIHCk

Views

200

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
I don't know maybe you could try to remove the validation when filling those fields and on the mouseDown event of the submit you set them back to execute validation. I believe the code you'd need would be://removing validation ddCountry.validate.nullTest = "disabled"; //and adding validation ddCountry.validate.nullTest = "error";

Views

211

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
You made it through like a boss so far, good job.I should've left comments for all the code that I wrote for you, I'm sorry for that I can still do it if you still wish me to explain some more. If you wish to evaluate if the value has been changed, I suggest one of two different ways to do this and one of them is within the change event. This would require a bit more tweaking.Another way would be this way: have a separate field that is hidden in background and have the value changed every time y...

Views

304

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
I'm sorry I forgot to remove the old drop down lists. Yes you can clear the drop down lists right before I call the execInitialize event from the exit event of the previous drop down lists.You can clear the lists using the following method:ddSelCity.clearItems();You can remove the default value that is in cities drop down if you wish which will leave it blank.You can also remove the selected values after clearing the list items from the drop down lists by doing the following:ddSelCity.rawValue =...

Views

374

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
When creating the JSON object you have to make sure that each key does not contain a space, make sure to replace it with an underscore "_". Otherwise it will not work properly.Exemple: North America > North_AmericaNew Zealand > New_ZealandUnited States > United_States This is only for the KEYS of an JSON Object. The values that are within an Array displayed like (Cities [] = bla,bla,bla) does not need an underscore, because these are the values that will be displayed in the drop down lists.Here ...

Views

437

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Go on and build your JSON object with this template, once you have a good template with some countries assigned to continents and cities assigned to countries, let me know. http://www.objgen.com/json/models/3b0uZ

Views

509

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Right, this is an issue where you'd have to add in the if statement that the right continent is also selected when showing the cities... I can understand that all this may be time consuming, because you need to create a list of cities for each country. And then creating the righteous if statements along with show/hide the right fields.And if you have to make them fields required with validation, it will be even harder to comply as you have hidden fields that are required. This solution is not qu...

Views

513

Likes

0

Replies

0
Re: Re; Reset a form based on users checkbox selection
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Well then you might want to specify inside the resetData function which subform(s) you want to reset like I showed previously. Ensure that all subforms you insert are the ones you want to reset only, which should exclude any subform containing the canopy subform.

Views

164

Likes

0

Replies

0
Re: Re; Reset a form based on users checkbox selection
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, First, do you have any experience with the software or JavaScript?By the look of it, you seem to be working with radio buttons instead of check boxes. Radio buttons is a list of items which the user can only select 1 at a time. This is only technical question to start with, no intention to offense you. To reset a form, you can always use the method xfa.host.resetData(); which will reset all fields to default value.This method will also remove the user's new selection. To be able to res...

Views

188

Likes

0

Replies

2
Re: I want to create a field that includes information from 2 other fields
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, you can simply put your cursor in the calculate script of the field you want those value to appear, hold down ctrl+left click on the field you want to add the value from. This will write down the exact reference syntax needed to access that field. From there you can use either rawValue or formattedValue depending on which type of value you want to display and concatenate them by using the plus sign... it could look something like the following:SerialNumber.rawValue + " " + Date_Time.fo...

Views

223

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
The reference syntax is not good. As you are trying to access each countries drop down fields they are included within a subform... to be able to access those fields you would have to write in front of each of them frmCountries and then access the drop down field. So the reference syntax to access the presence would look like this: frmCountries.ddCountryAfrica.presence

Views

720

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Make sure your syntax is good, check the javascript console using adobe acrobat to see if any error pops up, and make sure that you change the name of the dropdown you are checking the value from

Views

734

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, have a look at how I split the countries from a continent into multiple drop downs to be able to have mutiple lists. But it only displays the selected continent countries. https://gofile.io/d/8eMiUG

Views

758

Likes

0

Replies

0
Re: How do I lock all fields on submitting form?
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, I am sorry I kind of mislead you here, as I thought you were handling things a bit differently.By the look of how you are doing things it is much simpler than I said.Technically there would be two things you need to consider, because I found an error while trying to fill in your form. 1st: As soon as the user hits submit and there's a field in the form that isn't valid, the form will stay read only because you set it "protected" inside the preSubmit event of the submit button.To avoid ...

Views

149

Likes

0

Replies

1
Re: How do I lock all fields on submitting form?
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Yes you can, I'm sorry I forgot to reply this thread.

Views

188

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
You can use any tool that allows you to store files on a cloud, such as DropBox, OneDrive, Google Drive, etc. and leave the link in comment

Views

787

Likes

0

Replies

0
Betreff: Hidding table row - presence = "hidden" not working
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
To be honest, his example is not fixing your error, but simply showing how it works with subforms... Your problem using a Table and Rows, is entirely different from simply changing the parent's subform to Flowed content.

Views

216

Likes

0

Replies

0
Re: FormCalc error messages after signing (and locking) f...
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, I am not sure how this affect the "access" property of a field, maybe you should verify if there's any difference in the "access" value of the fields once the form is locked.If the value was "readOnly" and changes to another value, you could probably make an if statement to avoid executing the code in that case. Otherwise, the best solution should probably removing the "calculation" property of the field once the form is being locked. I hope this will help.

Views

158

Likes

0

Replies

0
Re: Hidding table row - presence = "hidden" not working
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, it is hard to say why it behaves this way, and without the hierarchy it would be hard to explain and understand... have you tried hiding Table1?I am not sure exactly what you mean by: hiding Line1 is hiding the content only and not the row.

Views

189

Likes

0

Replies

0
Re: How to allow deselecting "multiple" radio buttons via...
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, I've made a function back in the days that technically cycles through all the form to reset only wanted fields only by adding "Exception" names.If you're able to view the code and manipulate you'll be able to do exactly what you want to do.Feel free to ask any question if needed. https://experienceleaguecommunities.adobe.com/t5/adobe-livecycle-discussions/validation-reset-functions-easy-to-manipulate-and-to-change/td-p/158469 Hope this will help.

Views

165

Like

1

Replies

1
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Maybe I'd be more of help if I can see what you are trying to accomplish, how and with what. Could you share your form so I can take a look?

Views

826

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
I was pretending that the year would be the first dropdown list, and it would make a appear or hide the appropriate drop downs to that year exactly... I should've made the example with make or model first sorry. So in that case, ddlDropDownYYYY is the name of the drop down field. that would contain all the model of a given car brand.

Views

848

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Well for the show/hide option, you simply would have to create a drop down field for each possible lists, and by changing their presence property with "visible" or "hidden" you can display the appropriate list based on the previous selected values.For an example, after you have created each drop down lists and added each items to the appropriate lists, simply have a JavaScript into the exit event of the previous drop down fields that would verify the value selected and then show the right list a...

Views

870

Likes

0

Replies

0
Re: How do I lock all fields on submitting form?
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
I'm sorry I'm not sure what you are trying to accomplish using this code from radzmar for Time field?? Is this related to the same topic of this thread?

Views

225

Likes

0

Replies

0
Re: Adding 30 Business days to a date field
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, I haven't checked out how to do this using FormCalc, but with JavaScript it is do-able.One way to do it would be having a loop to iterate as many times it needs to end up adding 30 working days. This technically will not consider public holidays, if you want to take it in consideration you will need to add in some more details.So here's how I'd do it: //Verify that the value of the date field is different than null if (initDate.rawValue != null){ //Split the year/month/day of the date ...

Views

140

Like

1

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi, well at this point you have 2 different options. Either you create arrays objects with all your items either JavaScript or XML based and load them on the initialize event within the drop down lists. Or you simply create a drop down list field for each different possible lists. One will require you to work out with JavaScript and may requires you to understand a bit more how JavaScript Arrays or JSON/Hash table objects works, or you simply use different fields for each possible lists, and you...

Views

901

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, so how are you storing that data in the form? Are you using arrays within arrays, or maybe JSON objects? How do you determine what item list to use when a value is selected?Once you have selected a value within the first drop down, by extracting the correct items you will populate the next drop down, either by using setItems for the whole array object or addItem for each items from your collection.When a value is changed from a "Previous drop down", you may want to reset the following ...

Views

921

Likes

0

Replies

0
Re: Multiple Dependent Dropdown Menus in ES3
Avatar
Contributor 2
Level 10
Magus069
Level 10

Likes

144 likes

Total Posts

1,079 posts

Correct reply

155 solutions
Top badges earned
Contributor 2
Give Back 1000
Give back 900
Give Back 800
Give Back 700
View profile
Magus069
- Adobe LiveCycle
Hi there, It is important to know how is your data stored? How do you request your data to populate your drop down lists? If you populate based on embed form data, it is possible to populate a dropdown list on the exit event of the other, but in my experience I'd rather populate them within their own initialize event, and say as soon as I'd exit the previous drop down, I would execute the following drop down's initialize event like this:Dropdown1.execInitialize(); When doing so it's important to...

Views

455

Like

1

Replies

0