quartney
Member
Posted 9 months ago #
Is it possible to set the default value for a radio button?
I have an Admin field "new member", and I want each new signup to get a "yes" value. These "yes" records are then shown as New Participants at the bottom of this page:
http://s410995807.onlinehome.us/participants/
The problem is that the records aren't being created with the "new member" set to yes.
Here is a screenshot of my Admin fields:
http://i.imgur.com/C1Wlh.png
Am I doing this right?
Thanks!!!
http://wordpress.org/extend/plugins/participants-database/
quartney,
OK, what's happening here is that the value of the checkbox is only being set if it's included in the form. This is not ideal...I'll have to fix this in the next update.
Meanwhile, I would suggest adding the checkbox field to the signup form, then hide it with CSS. It will then save the default value into the database when the form is submitted.
quartney
Member
Posted 9 months ago #
great work-around. Thanks, xnau!