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

A drop-down that update dynamically?

Avatar

Level 1

I have a drop-down list placed in a table's row which has 3 entries (E1,E2,E3) and in the next row an add button that adds a new row.
When I choose an entry (i.e: E1) from the DD and click on the add button, the new DD list should have only two entries (i.e: E2, E3) and so on .
any idea how to implement that dynamically?

Thanks

0 Replies

Avatar

Level 10

This can be done. However, what is the user experience after they pick a value from the drop-down, the value is removed from the drop-down and they realize they picked the wrong value?

Steve

Avatar

Level 1

Hi Steve

My DD has 20 entries and each entry display 5 or 6 checkboxes (name of programs). So when a user selected an entry from the DD list and programs from the checboxes and he /she not allowed to pick the same entry from the DD. So to avoid mistake I would like to have a dynamic DD list that decrease gradually. Let me know if this is clear.

Thanks

Avatar

Level 3

You may try this logic path...

After a selection is made you will have the selectedIndex. Use this index to perform a deleteItem from the DD list.

Avatar

Level 1

Hi

I used deleteItem but the entry that I chose is back in the list after I made couple add row. What I want when an entry is selected, it should be clear from the DD list during the current session.Is this a way to send a private e-mail with my PDF attachment?

Avatar

Level 3

You may send it to me with attached PDF.

 

Bill

Avatar

Level 1

Hi Bill

As mentioned in my previous posting I linked an attachment in my note but I don't see it. Did you get it in your personal email?

And how to do an attachment in this forum.....? Thanks

Avatar

Level 10

Non-employees of Adobe cannot use the attachment feature. It has been disabled because it was be used by hackers to upload infected content. You will have to use email for attachments.

Steve

Avatar

Level 3

Are you using

deleteItem(selectedIndex)

in the change or exit event?

Avatar

Level 1

Thanks for letting me know that.....so how to know the e-mail address of the recipient like Bill or you?

Thanks