Hiddenfields in Forms
Permalink 1 user found helpful
Hi Team...
I think I am going a little mad but I can't figure out how to add hidden fields to a form?
I though you used to be able to do this, But can''t see the option in the latest concrete, now their are date and time options which Is not needed.
I don't wish /think I should need to purchase the advanced forms in order to attached a hidden field to a from?
I have manually added the hidden fields to the View for a custom template, But they don't appear on the email sent or the Dashboard display?
Am I missing something? Your FAQ support says it has hidden fields?
Thanks for the advise
Carl
I think I am going a little mad but I can't figure out how to add hidden fields to a form?
I though you used to be able to do this, But can''t see the option in the latest concrete, now their are date and time options which Is not needed.
I don't wish /think I should need to purchase the advanced forms in order to attached a hidden field to a from?
I have manually added the hidden fields to the View for a custom template, But they don't appear on the email sent or the Dashboard display?
Am I missing something? Your FAQ support says it has hidden fields?
Thanks for the advise
Carl
Why does Concrete5 leave out such an important feature from its core forms function set? It seems to me that at least the Forms Helper should be handling this before having to purchase an add-on.
form.php even contains a function to create the hidden field:
What gives? Is Concrete5 crippling core functionality to make better commission off add-on sales? Or is the documentation for form helpers obtuse and incomplete? I want to say both... Please show me if I'm wrong.
I'm aware that a sufficiently-skilled PHP developer could just write his or her own form, either within a block, edit forms.php if absolutely needed, or even produce their own widget or add-on, ostensibly using form helpers to speed up dev time. But that's not the main point of C5. I understand C5 is about building high-functioning, editable websites using a streamlined, modular, browser-based interface, which has necessarily required creating a custom development environment that works across all skill levels and a broad range of user needs. What's needed is documentation that adequately bridges the gap between interface-only usage and the under-the-hood development. I don't see that. And leaving out critical functionality for those needing a fairly basic solution doesn't help either.
Thanks. That's my 3.5 cents.
chardwick
form.php even contains a function to create the hidden field:
/** * Creates a hidden form field. * @param string $key * @param string $value */ public function hidden($key, $value = null) { $val = $this->getRequestValue($key); if ($val !== false && (!is_array($val))) { $value = $val; } $str = '<input type="hidden" name="' . $key . '" id="' . $key . '" value="' . $value . '" />'; return $str; }
What gives? Is Concrete5 crippling core functionality to make better commission off add-on sales? Or is the documentation for form helpers obtuse and incomplete? I want to say both... Please show me if I'm wrong.
I'm aware that a sufficiently-skilled PHP developer could just write his or her own form, either within a block, edit forms.php if absolutely needed, or even produce their own widget or add-on, ostensibly using form helpers to speed up dev time. But that's not the main point of C5. I understand C5 is about building high-functioning, editable websites using a streamlined, modular, browser-based interface, which has necessarily required creating a custom development environment that works across all skill levels and a broad range of user needs. What's needed is documentation that adequately bridges the gap between interface-only usage and the under-the-hood development. I don't see that. And leaving out critical functionality for those needing a fairly basic solution doesn't help either.
Thanks. That's my 3.5 cents.
chardwick
http://www.concrete5.org/marketplace/addons/proforms/...
OR...
http://www.concrete5.org/marketplace/addons/extended-form/...
OR perhaps...
http://www.concrete5.org/marketplace/addons/advanced-forms/...
I hope this helps.