Hi,
I'd like to create a list of participants from drop-down list selection.
After selecting one choice from drop-down list I'd like to LCD to populate list of people who belong to this choice and choose people who are present at the meeting (by using Check Box).
How can I do this, please?
Thanks for all hints.
Best,
Marian
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Marian,
It can be done, but involves a fair bit of scripting. Also the page will probably need to be flowed so that as the table grows, objects underneath move down as well.
Here is an example: https://acrobat.com/#d=X1msu65emlM10IWKxkiUyw
Hope that helps,
Niall
Views
Replies
Total Likes
Hi Marian,
It can be done, but involves a fair bit of scripting. Also the page will probably need to be flowed so that as the table grows, objects underneath move down as well.
Here is an example: https://acrobat.com/#d=X1msu65emlM10IWKxkiUyw
Hope that helps,
Niall
Views
Replies
Total Likes
Hi Niall,
thanks for that template. It works great for me.
Actually I have one more question regarding the script. I'd like to have my list in 2 columns. How should I change that script to reflect this change? As I've tried it like this:
case "Group A":
xfa.resolveNode("Table1.Row1[0]").participant.rawValue = "John Murphy";
Table1._Row1.addInstance(true);
xfa.resolveNode("Table1.Row1[1]").participant.rawValue = "Seamus O'Leary";
Table1._Row1.addInstance(true);
xfa.resolveNode("Table1.Row1[0]").participant1.rawValue = "Mary Lane";
break;
I've created participant1 row. But after running that script for a while it looks as I expected, but than it switched to look with its original script. How could I fix this, I only changed highlighted part of the script.
Thank you in advance.
Marian
Views
Replies
Total Likes
Hi Marian,
I have updated the sample to use multiple columns: https://acrobat.com/#d=X1msu65emlM10IWKxkiUyw
Looking at the script, if you have multiple columns you can drop some of the addInstances. Hopefully the updated example will give you some ideas for the look and feel that you want.
Good luck,
Niall
Views
Replies
Total Likes
Niall,
thanks again. Works like a charm. Sorry to trouble you again but I'm facing few troubles with subforms. I've added ADD button to add row if needed.
This means that I have to wrap the fields below (and above) my expanding table fields in a subform. Afterwards I'm supposed to wrap these subforms in their own subform - do we mean subforms of fields below my expanding fields?
Not sure what went wrong in my subforms, but it doesnt work. I've checked your subform, tried to do it same way - maybe I'm getting confused because I have many functions in my form.
thanks for advice.
marian
Views
Replies
Total Likes
Hi Marian,
I have updated the example: https://acrobat.com/#d=X1msu65emlM10IWKxkiUyw
The table now has two repeatable rows (Row1 is determined by the dropdown, whereas Row2 is determined by the add/delete buttons).
I have added some objects beneath the table to try and show some aspects of flowed content, positioned subforms and flowed subforms. There is now a lot going on and there are various settings in the subform's Object / Pagination settings and also the Layout settings for the objects in the flowed subform.
This hopefully will show some of the potential in setting out objects in dynamic forms.
Hope that helps,
Niall
Views
Replies
Total Likes