Label for multiplier element

nlheath 21 May, 2015
I have a multiplier element in my form, and want to display a heading for this element. I've tried putting the text of this heading in the label field of both the multiplier and the multiplier contents elements, and also coding it in the "start code" box of both elements as either html or php, but the text does not display. I can display it with a separate custom element, but this multiplier is hidden or displayed based a checkbox event, and I want the heading to be similarly hidden or displayed. How can I get this heading to display with the multiplier?
GreyHead 23 May, 2015
Hi nlhealth,

Not tested but you could presumably use a container add the Header as a Custom Code element followed by the Multiplier and then show/hide the container. Or perhaps more simply add the Header before the Multiplier and use the same Event code to show/hide that element at the same time as the Multiplier.

Bob
nlheath 23 May, 2015
Thanks, Bob. I tried your second suggestion, but the custom code element has no place to assign a field ID, so there was no way to set up an event to display or hide it. I'll try putting both into a container.
GreyHead 24 May, 2015
Hi nlheath,

For the Custom Code element, leave the label empty, set it to pure code and add a div with an id. That should work.

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

VPS & Email Hosting 20% discount
hostinger