FormBuilder hide field / pass value
Posted: Fri Nov 02, 2007 7:36 am
Hi to all.
I would like some help with this.
i have a form inside a item.cataloger page.
This is because i am using the cataloger module as a directory for several announcers, each announcer is actually treated like an item, and the form inside the item page is used for send information directly to the announcer, so for this i am using the same template for all the announcers and the same form-template for every item page.
Well the issue is. as i am using the same form for every item i'm trying to pass the value of a field named "email" to the *Email Results to set Address(es) special field from the item page using
{cms_module module='FormBuilder' form='client_fb' value_mailto=$email}
where "mailto" is the *Email Results to set Address(es) and "$email" is the field in the cataloger item page.
But nope, don't the form never changes the value of this field and sends every form to the same email acount (defined in the form buider module).
So i change and use the field *Email to User-Supplied Email Address in this field the change is made and send the mail to the mail account defined in the item data, overriding the original value (what a beauty) but there is a problem, the field appears in the form and the Form Template Variable field->display, doesn't sems to cause any effect. at last the problem its not the field appearing in the form the problem is that its appears and its fully editable.
so the questions (at last) are:
* There are a method to really pass a value to the field *Email to User-Supplied Email Address ?
* There are a method to hide the field *Email to User-Supplied Email Address ?
I hope you can get what i'm trying to do.
The mentioned form is at.
http://www.mercadodeabastos.com.mx/inde ... l-pinguino
as you can see at the bottom of the form appears the mailto field already updated with the email address of the announcer.
well any help would be appreciated.
thanks in advance
I would like some help with this.
i have a form inside a item.cataloger page.
This is because i am using the cataloger module as a directory for several announcers, each announcer is actually treated like an item, and the form inside the item page is used for send information directly to the announcer, so for this i am using the same template for all the announcers and the same form-template for every item page.
Well the issue is. as i am using the same form for every item i'm trying to pass the value of a field named "email" to the *Email Results to set Address(es) special field from the item page using
{cms_module module='FormBuilder' form='client_fb' value_mailto=$email}
where "mailto" is the *Email Results to set Address(es) and "$email" is the field in the cataloger item page.
But nope, don't the form never changes the value of this field and sends every form to the same email acount (defined in the form buider module).
So i change and use the field *Email to User-Supplied Email Address in this field the change is made and send the mail to the mail account defined in the item data, overriding the original value (what a beauty) but there is a problem, the field appears in the form and the Form Template Variable field->display, doesn't sems to cause any effect. at last the problem its not the field appearing in the form the problem is that its appears and its fully editable.
so the questions (at last) are:
* There are a method to really pass a value to the field *Email to User-Supplied Email Address ?
* There are a method to hide the field *Email to User-Supplied Email Address ?
I hope you can get what i'm trying to do.
The mentioned form is at.
http://www.mercadodeabastos.com.mx/inde ... l-pinguino
as you can see at the bottom of the form appears the mailto field already updated with the email address of the announcer.
well any help would be appreciated.
thanks in advance