Forums

Backend wizard crashing due to code in field

hefesto 17 Apr, 2012
I'm creating a quite long form (20+ fields), so I wanted to "group" fields. To do that, I thought it would be a good idea using the "Header" type fields with "only code" option enabled, placing one of these immediately before the first field in the group with the code:

<div class="grouped_fields">


ond another one imeediately after the last field in the group with the code:

</div>


The problem is that the wizard gets mad when I save the changes, as it's applying these divs to the wizard itself (via the preview, I think).

Is there any possibility of disabling the "preview" feature in the backend for those "code only" fields?

Thanks!
GreyHead 17 Apr, 2012
Hi hefesto,

I suggest that you use Custom Code elements for this (in the Advanced Group) and not Header elements; and avoid using double quotes, single quotes seem OK.

Bob
hefesto 17 Apr, 2012
Doh! 😶

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