Ok. I have a patch to make multiselects work:
1285a1286
>
1287d1287
< $input_type = RGFormsModel::get_input_type($field);
1295,1302c1295,1299
< if($input_type == 'multiselect') {
< $elements = explode(",",$entry[$field_id]);
< $new_elements = array_map('htmlspecialchars', $elements);
< $newest_elements = implode(';',$new_elements);
< $merge_vars[$var_tag] = $newest_elements;
< }
< else
< {
---
> /*
> if($field['type'] == 'textarea') {
> $merge_vars[$var_tag] = '<![CDATA['.$entry[$field_id].']]>';
> } else{
> */
1304c1301
< }
---
> #}
Plugin Contributor
Zack Katz
(@katzwebdesign)
Thanks, @gmcinnes for your help. Would you be interested in becoming a committer on the plugin?
Sure. There’s lots still to do I think. Some types of dates don’t work. Checkboxes don’t work, and I”m not sure how to fix that.
Plugin Contributor
Zack Katz
(@katzwebdesign)
Can you send me your email to support@katz.co ?
HI Zack: I think I sent my email, didn’t I?
Hi. How can I implement this code into the plug in? What do those numbers mean? (ex 1285a1286).
I will have some check boxes with multiple values that I need to send as different data items.
Great plug in, thanks for the work.
Armando: What I included up there is a diff that helped Zack fix the problem (I hope).
But he’s added much more than my diff did. This issue is already solved. You should upgrade the plugin to the latest.
Thanks for responding. I installed the latest version of the plug in.
“Armando: What I included up there is a diff that helped Zack fix the problem (I hope).”
Understood.
“But he’s added much more than my diff did. This issue is already solved. You should upgrade the plugin to the latest.”
Understood.
I still cannot get check boxes to load into Salesforce. I am using Web to Lead. Will I need to upgrade to a API package to get that to work?
Here is what I have:
In GF, I have a check box area with 4 different options. The user can select 1 or all 4. In SF, I create a custom field, select Checkbox as the type. When submitted, I do not get anything in the check box.
I would like each of the checked Items as a separate record set in SF.
Thanks again for the amazing work.
If anyone can help me figure this out let me know your rate. Really need this feature.
Thanks!
Sorry armando. I really don’t know. I don’t use the web-to-lead style interface. Using the SOAP API everything “just works” now. At least as far as checkboxes go 🙂 Sorry I couldn’t be more help.
Thank you so much for replying. This information really helps quite a lot. I will try to see if we can update our package to an API version and not use the web to lead one. Again, thank you so much for replying.
Ok. If you do that beware that there are other bugs lurking in the current 2.1.1 SOAP API version. See my other patches in this forum. Or bug Zack to apply them 🙂