AnsweredAssumed Answered

How can I add option on dropdown list lookup ?

Question asked by zaert on Nov 23, 2015
Latest reply on Nov 24, 2015 by zaert



I have a form with a list lookup (dropdown) in a repeating section. I already added a choice in the list lookup (with JS) but when the user adds a row  into the repeating section, the choice that I've added with JS disappear.


I use a JS like this and It work for the first dropdown ...

$("#"+myCustomIdListLookup).append("<option value="other">Other(s)</option>");


But when the user added row into the repeating section, the choice disappeared in the next dropdown


How can I fix that ?


I supposed that the name or ID of the dropdown change when a row is added but I don't know how catch/get this new name ?