Closed (fixed)
Project:
Webform
Version:
6.x-2.9
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2010 at 19:10 UTC
Updated:
19 Feb 2010 at 15:33 UTC
I checked the documentation, but I can't find any description of how to use the markup field type: for instance, is it solely for non-form components (e.g., just for paragraphs with some HTML markup), or can it be used to insert customized input fields? (If it can be used for customized input fields, how do you store and retrieve the input data? Would this be possible in additional processing?)
Comments
Comment #1
quicksketchYou cannot add additional fields with the Markup component (at least in a supported manner). Drupal has an extensive API for handling forms, writing up forms in plain HTML won't work with these APIs (though $_POST will always work, but usually in Drupal you don't use $_POST). Anyway I don't think extensive documentation is needed. It lets you insert HTML. That's it. What you do with that HTML could be plain messages or it could be inline JavaScript. There's nothing stopping you from typing in HTML forms, but they just won't do anything.
Comment #2
quicksketch