Commit e7a63521 authored by Penny Leach's avatar Penny Leach
Browse files

form: added support for boilerplate to not try and get dom for markupey

type elements
parent b4db0f17
......@@ -765,7 +765,7 @@ function {$this->name}_submit() {
// Get values for each element from the form via the DOM
foreach ($this->get_elements() as $element) {
if ($element['type'] != 'markup') {
if ($element['type'] != 'markup' && empty($element['boilerplate'])) {
$function = 'form_get_value_js_' . $element['type'];
if (function_exists($function)) {
// @todo reverse parameter order for consistency, Form first
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment