Hi
Is there a way to add a value to a hidden form field in FormBuilder? If not, how is the hidden field actually used in the module?
Many thanks
Hidden field in FormBuilder
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Hidden field in FormBuilder
You can specify a value for the hidden field on the module tag, but the next version will allow you to specify a value for the field in the interface.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Hidden field in FormBuilder
Sincere thanks as always for your reply Calguy
Can you please provide and example of what you mean. Had a play with the module tag but can't get the value to set.
Many thanks
Can you please provide and example of what you mean. Had a play with the module tag but can't get the value to set.
Many thanks
Re: Hidden field in FormBuilder
Where you refering to changing code in the actual module Calguy or just in the call to the module that is included on the page?
Were 'test' is the name I have given to the hidden field, I have tried all kinds of different variations eg.
Am I on the right track?
Were 'test' is the name I have given to the hidden field, I have tried all kinds of different variations eg.
Code: Select all
{cms_module module='FormBuilder' form='form1' test='testvalue'}
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Hidden field in FormBuilder
This is my fault, and I can't blame anybody else 
to override the value of a field in formbuilder supply a paramter with the name value_ in the tag.
i.e: {cms_module module='FormBuilder' form='blah' value_whateverfield='myvalue'}

to override the value of a field in formbuilder supply a paramter with the name value_ in the tag.
i.e: {cms_module module='FormBuilder' form='blah' value_whateverfield='myvalue'}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Hidden field in FormBuilder
About the only variation that I didn't try!!
Many thanks again Calguy, works perfectly.
Many thanks again Calguy, works perfectly.