why does %%form_data{variable}%% render in its own <p> block?
nav_first.pngFirst: thread:379
Feedback from naive user
Edited: 26 Oct 2011 12:41 by: Sheepdog
Comments: 3
Tags:
nav_prev.pngPrevious: thread:358
default property for wiki field
Edited: 06 May 2010 13:41 by: scottplan
Comments: 1
Tags:
Last: thread:141
Which aspects of this design do people want first?
Edited: 11 Nov 2009 12:44 by: leiger
Comments: 14
Tags:
nav_last.png
Next: thread:355
editor buttons for wiki-type-form-field
Edited: 26 Apr 2010 22:38 by: Steven Heynderickx
Comments: 1
Tags:
nav_next.png

scottplanscottplan wrote on 02 May 2010 16:24

It seems like data blocks appear inside <p> tags — right? Does it have to be that way? It would be really limiting for layout options.

Here's a simple example:

I'd like to precede some data with an m-dash: —

Why can't I do this in my template with "— %%form_data{contact}%%"?

Instead, I get the dash, then the form data on a newline.

edit: I'm seeing this is documented:

  • span/div (div for wiki and static)
    class: form-value field-{name}
    class': form-error (added to field while save when there is matching error)

So maybe I can customize this somehow. Where's the "undiv" command?


Start a new sub-thread

Comments: 5

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License