Forums

How can i hide/show multi save mulitfields

wiva 26 Feb, 2017
Hello,

I want to hide/show some multifield elements based on user choice like in "demo fields events"
The fields are also multisave: FIELD ID = reg[1][participant]

Is it possible to show/hide these multi save fields

Thanks
GreyHead 26 Feb, 2017
Answer
Hi Wiva,

First, IDs should not use [] as that is illegal html (for names it is fine) so change those to e.g. reg_1_participant and I would keep the numbers linked so that the id and name use the same number (they are different in your image).

Then you can show/hide the containing element.

Bob
wiva 26 Feb, 2017
Hello Bob

Yes, It's working now properly

Thanks Bob
This topic is locked and no more replies can be posted.