The CreatorCon Call for Content is officially open! Get started here.

Catalog ITem , Change dinamically the order of a question

Nabil EL FILALI
Tera Expert

Hi 

Please i would like get your help on how to change the order of a question within a request portal depending of the value of another variable.

 

For example:

By Manual Setting : Variable 2.Order to 100

If  Variable 1 == "YES" then set Variable 2.Order to 300

 

Thank you 

 

1 REPLY 1

Nabil EL FILALI
Tera Expert

Hello

Thank you for your help , but the order doesn't change , i used setvalue without any condition to be simple 

 

g_form.getControl('gestion_administrateurs').setAttribute('order', '10');