#select #widget #designer #form

How to change the available select values depending on previous input (Country - city)

Hello,

I am working on a form where a user must input the countries he or she has visited, and according to the answer of this field, a list of appropriate cities loads as available values for the next select field, cities.

However, I am having trouble restricting the available values for the second field because the user can input multiple countries, and then multiple cities within those countries.

how to clear value of widget while change option of select

Hi
I have a select-widget that it depends on value of another select-widget. I wrote a js variable that clear value of slave widget and call it in changing of master widget, but it always clear value of slave widget. I just want to clear previous value .
how can clear previous value of slave widget when master widget is changing?

js variable: onSelectLab
`
$data.selectedlabType = null;

jQuery("input[name=customAutocompleteExt1]").val("");

return true;`

Notifications