Chronoform and checkbox

ticreoz 01 Jun, 2011
Hi
I would use chronoform to send info by checkbox to vtiger.
Form that I created is already working and Curl working fine.
So, I need get value from checkbox in this way:

Contact that get vtiger must populate a field (for ex Accept newsletter Y/N)
So which properties must have checkbox and curl to send this value on vtiger?
GreyHead 01 Jun, 2011
Hi ticreoz,

It's simplest to use a pair of radio buttons with values of Y or N. If you use a checkbox then you need to check the value afterwards and add the 'N' if it isn't set.

You should be able to set vtiger_name=checkbox_name in the Params/fields map box of the cURL action*.

Bob

* I have a more flexible cURL action here that is useful for advanced cURL applications.
ticreoz 01 Jun, 2011
So, let me know if following steps are correct:

In my actual form

- I select form
- Wizard Edit
- Add Radio field with two choice Yes and No

but after?
How I can tell to chronoform to send this choice on vtiger?
On the other field (for ex name) I add textbox and I can set field like --> name
But adding Radio and Checkbox too, I dont see how tell chronoform where send value
😶
GreyHead 02 Jun, 2011
Hi ticreoz,

You should be able to set vtiger_name=checkbox_name in the Params/fields map box of the cURL action


Bob
ticreoz 03 Jun, 2011
You mean something like shot attached?

In shot, check0 is first checkbox and cf_611 is Custom Field created on vtiger
Same sound with check1 that goes on cf_612

But with those settings doesn't work
:(
GreyHead 03 Jun, 2011
Hi ticeroz,

But with those settings doesn't work

How exactly doesn't it work? What do you see in the cURL debug?

Bob
ticreoz 03 Jun, 2011
Debug it's ok..but if checkbox is ticked on, vtiger doesnt get nothing. All other filed are loaded by vitger but not field from checkbox
At this point, it's possible that problem could be vtiger side?

Setting that you see on shot attached before are ok?
Thank you Gray
;-)
GreyHead 05 Jun, 2011
Hi ticreoz ,

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob
This topic is locked and no more replies can be posted.