![]() |
Adding a Checkbox to the Poll form to update sql db?
I am trying to add a checkbox to the newpoll form and pass it to the poll table using a plugin. I was working off a completely different hack that does it for calendar events but I am not sure why it isn't working here.
The checkbox definitely appears but the value isn't being passed on to the poll save and not updating the db. I do have the field "polltest" in the poll table and the hook is "poll_newform_complete". Code:
$disablesmiliesoption.='<div><label for="cb_polltest"><input type="checkbox" name="polltest" value="1" id="cb_polltest" tabindex="3" '.$polltest.' />'.$vbphrase['poll_polltest'].'</label></div>'; |
All times are GMT. The time now is 04:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|