Get the value of a checkbox in Form Wizard Pro

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/21/2012 1:26:27 PM
Gravatar
Total Posts 11

Get the value of a checkbox in Form Wizard Pro

I have added a checkbox to my form built using the Form Wizard Pro.  I want to add logic to my custom handler detecting whether or not the checkbox has been checked.  How do I get the value of the checkbox?

8/21/2012 2:36:19 PM
Gravatar
Total Posts 18439

Re: Get the value of a checkbox in Form Wizard Pro

Checkbox questions store the answer in the database just like any other question. You cannot get access to the checkbox itself but the answer/response should be stored as "true" or "false" and you access it just like any other question type as shown in the article Implementing a Custom Form Submission Handler.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.