Form Layout
nav_first.pngFirst: thread:379
Feedback from naive user
Edited: 26 Oct 2011 12:41 by: Sheepdog
Comments: 3
Tags:
nav_prev.pngPrevious: thread:257
Additional field types
Edited: 18 Jan 2010 18:20 by: Steven Heynderickx
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:201
Implementation and possibilities of Data Forms
Edited: 19 Dec 2009 08:21 by: leiger
Comments: 4
Tags:
nav_next.png

Steven HeynderickxSteven Heynderickx wrote on 21 Dec 2009 10:35

I wish to be in control of the way a contributer sees the layout of the form. In other words I wish to design the user interface. Just like using some database program: I would like to be able to design my form and to design my report. For the report we have ":_template", could it not be possible to make ":_form" that holds the layout of the form?
I think the property "join" for example will not be needed any more.

Example: Myform:_template

++ %%field{$title}%%

[[div class="report_header"]]
%%field{$header}%%
[[/div]]
[[div class="report_body"]]
%%field{$body}%%
[[/div]]
[[div class="report_author"]]
%%field{$author}%%
[[/div]]

Example: Myform:_form

++ Complete the following

[[div class="form_header"]]
%%label{$header}%%:%%field{$header}%%
[[/div]]
[[div class="form_body"]]
%%label{$body}%%:%%field{$body}%%
[[/div]]
[[div class="form_author"]]
%%label{$author}%%:%%field{$author}%%
[[/div]]
[[form]]
fields:
  title:
    label: Give the title of your article
    type: text
    width: 30
  header:
    label: Write the short contents of your article
    type: text
    width: 50
    height: 3
  body:
    label: Write the full contents of your article, keep in mind that the header will always appear together with this
    type: text
    width: 50
    height: 3
  author:
    label: Give your name or initials as an author
    type: text
    width: 30
[[/form]]

Start a new sub-thread

Comments: 9

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