By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

accessing checkbox form element that has no label

N

nbi

New Member
I can't find an answer for this issue. How do I access a checkbox form element that has no label? I don't want a label because the option string makes the checkbox purpose explicitly clear - in fact having both label and option string looks amateurish.

String form fields can be accessed in php like:

$newpass = $form_data['New Password'];

but the checkbox is neither a string field (guessing it's boolean) nor does it have a label.
So how can it be accessed? Plenty of googling has not yielded an answer.

Thanks for your help.
 
elementor official
elementor official
Top