javier94
Member
I'm testing to use a dropdown.. to include or not includes dishes images in the form when user create the menu.
1.- i have created a dropdown with 2 values yes or not, predetermined in NO value "0" yes value "1"
when i load... using javascript... like this
this is ok --> when you open the form.. show this..
1.- The drowpdown predetermined in NO (OK) , the element hide (OK), BUT the title si SHOWN (should be hide also)
Not possible hide the title too?
Maybe is because is a element inside of repeteable group ??
how to do it?
I would like all element dissapears..(title and element) and description element move to the left near to the Nº
The javascript for that.. show the element on "change"...
If i set dropdown as YES .. element image appears is (OK)
2.- Doubt..
I would like.. that once we save.. if the dropdown is NO = 1.. dont see in Form details view the selector element and the image element.. .. just hide both elements... only in form details view.. if i reopen the form.. i should see the elements in case the dropdown is YES..
So for that i have to create a php code on afterprocess ??
How to say in the code this hide elements only in the form details view??
thanks in advance!
Javier
1.- i have created a dropdown with 2 values yes or not, predetermined in NO value "0" yes value "1"
when i load... using javascript... like this
this is ok --> when you open the form.. show this..
1.- The drowpdown predetermined in NO (OK) , the element hide (OK), BUT the title si SHOWN (should be hide also)
Not possible hide the title too?
Maybe is because is a element inside of repeteable group ??
how to do it?
I would like all element dissapears..(title and element) and description element move to the left near to the Nº
The javascript for that.. show the element on "change"...
If i set dropdown as YES .. element image appears is (OK)
2.- Doubt..
I would like.. that once we save.. if the dropdown is NO = 1.. dont see in Form details view the selector element and the image element.. .. just hide both elements... only in form details view.. if i reopen the form.. i should see the elements in case the dropdown is YES..
So for that i have to create a php code on afterprocess ??
How to say in the code this hide elements only in the form details view??
thanks in advance!
Javier
Last edited: