I use cmsms 1.9.4.2 "Faanui", with FrontEndUsers 1.12.16, CompanyDirectory 1.8.3 and FormBuilder 0.7.
In my Company Directory Detail Template, I added this line to display the contact form and change the destination value :
Code: Select all
{FormBuilder form='contact' value_fld29=$entry->contact_email}
Then I tried to change the type of the FromBuilder's field from "Email Results to set Address(es)" to a "Email results based on frontend fields" and add an hidden field where I could put the value of the email.
Same thing, it's not working, and I got this error:
Fatal error: Call to a member function GetHumanReadableValue() on a non-object in modules/FormBuilder/classes/DispositionEmailBasedFrontendFields.class.php on line 56
Using a "Email to User-Supplied Email Address" field type and changing it's value, it's the only way to make it work, but the email can be changed by users!
The reason I need that, is for every Company, I must display the same form but with a different destination.
Thanks, and sorry for my English.