Categories > TinyButStrong general >

cannot retrieve $_POST checkbox

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: handoko
Date: 2011-04-09
Time: 14:45

cannot retrieve $_POST checkbox

Dear Skrol,

I have trying to retrieve data from checkbox in a form under subtemplate mode, however the result is nothing,
Every try i do always get nothing, or the checkbox itself doesn't send the value or null.

Can you help me to give the example in retrieving checkbox data under subtemplate mode.


Thanks
By: handoko
Date: 2011-04-10
Time: 03:59

Re: cannot retrieve $_POST checkbox

Solved,


this is only a small mistake, the mistake is i use id instead of name parameter in input checkbox html tag,
and i put the email dana into value of checkbox and the value automatically clear when we uncheck the checkbox.
So i can retrieve the available data using $_POST.....


Rgds