Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListImproved Form DesignerImproved Form Designer
Previous
 
Next
New Post
7/26/2014 12:13 PM
 
I was thinking -- it might be easier to create forms in a much easier manner if the display template was separate from the form fields.  I was curious if anyone else had given any thought about adding a display and edit template concept that uses tokens to place the fields? Maybe even with different display and edit forms based on security role?

Consider a complex form where I have multiple sections, maybe a few "expand/collapse" areas, some with 2 columns, some with 4 columns, etc. Right now, this is almost impossible to do with the per item template. What I end up doing right now is creating the HTML by hand in note pad, and then very carefully breaking it up into unique item templates for every form field -- its a lot of work. It would be really cool if we could leverage something like bootstrap (or any other ui framework) and create custom layouts in an easier manner. My thought was to create a concept called "Form Template" that would then do a token replacement for the actual fields (note: we would still need to create individual form items just like we do today, this would just allow a complete override of the layout in one single step). 

Then we could look at something like this for a "form builder"

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListImproved Form DesignerImproved Form Designer


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out