Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to send a value for [Single on/off checkbox] using form api
SOLVE
New Member
Apr 25, 2017 9:53 AM
I have tried sending TRUE(boolean), True(string), 1(int), 1(string) but none of them was captured in the form.
I am using PHP library https://github.com/HubSpot/haPiHP
Please guide.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
1 Accepted solution
Accepted Solutions
Solution
Esteemed Contributor | Gold Partner
Nov 13, 2018 11:21 AM
I know it's weird.. imo 0 or 1 would make more sense..
but what worked for me is sending TRUE or FALSE as string!
'true'
'false'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content