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

quicksketch’s picture

You 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.

quicksketch’s picture

Status: Active » Closed (fixed)