select that will hide and show input on edit
select that will hide and show input on edit
Hey, I have in my DB two payment, payment1 payment2, I want in the editor that will be select with 1 payment or split payment. if the user choosing 1 payment will show just 1 field payment 1, and if he choosing split payment will be 2 inputs with payment 1and payment 2 but in default payment 1 and payment 2 will be hidden.
How can I do it?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Hi @ofirk12 ,
You can use
dependent()
for that, there's a few examples on that page that should get you going,Cheers,
Colin
See also example here.