I have a cascading dropdown set - Noun and Noun modifier. When the list is being populated my onChange event is called and in my repeating section I have repeated rows when on Edit Mode.
I tried the NWF.FormFiller.Events.RegisterAfterReady with pollSP = setInterval(checkSPLoad, 500); but then my dropdowns are not even loading.
When I use the developer's tools I dont see any errors.
I am new to Nintex forms and any help is greatly appreciated.
Solved! Go to Solution.
Thank you for taking the time to look at my issue: I have attached the two cascading dropdowns
After I select Noun - my noun modifiers get populated and when I select the noun modifier my repeating section will display the rows based on the REST API call in GetCharacteristics.
I want this method to be called only for user onchange event.
Currently when the form is loading for each dropdown option change from undefined to actual value, this method is called.
This is what I understand:
Issue: GetCharacteristics method is called on form load / When data is populated in NounModifier ListLookup control also GetCharacteristics is getting called?
A suggestion is to check for below points:
Thanks for working with me on this.
I have the variable set to false at the start: I am mainly using it to make sure that my scripts are getting loaded for my REST API call.
var ready = false;
I will try the solution you gave me : where Noun Modifier is not empty, but would also have to check that the original value is not changed.
Is there no onSelectedIndexChanged event?
So this is what I did: Please let me know if the work around is ok
Added a text box and set its value to the option selected and then in my getCharacteristics method I check the textbox(previous) value to the current value of the dropdown before running the code.
Thanks for your support!