• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Value of Checkbox in Admin email

Value of Checkbox in Admin email 13 years 2 months ago #16334

  • artvill
  • artvill's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I have a checkbox field with no items. The user will simply check if they want to mark the selection as applying to them. For example "Do you smoke?". I do not want a Yes/No. If they smoke they check it off. When I do this my admin email shows no value when the box is checked.
How can I get some value returned that indicates the user checked the box?
The administrator has disabled public write access.

Re: Value of Checkbox in Admin email 13 years 4 days ago #17186

  • jgodek
  • jgodek's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
No one seems to know this answer. It has been raised before. No reply. Anyone know how to send a checkbox valkue thru email?
The administrator has disabled public write access.

Re: Value of Checkbox in Admin email 13 years 4 days ago #17187

  • jgodek
  • jgodek's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Ok try this:

Edit the checkbox field. Set the Item from the checkbox fields like this:

Yes|

If they select the box, Yes will be sent. Otherwise nothing will be sent.
Works ok for me
The administrator has disabled public write access.

Value of Checkbox in Admin email 12 years 5 months ago #19969

Thanks 'jgodek' :)

I'd been searching all over to find a solution to this.
The administrator has disabled public write access.

Re: Value of Checkbox in Admin email 12 years 5 months ago #20095

jgodek wrote:
If they select the box, Yes will be sent. Otherwise nothing will be sent.

...is there anyway to get a "No" response in the Admin Email when the checkbox is NOT ticked?

I've tried a few things to no avail so far?!
The administrator has disabled public write access.

Value of Checkbox in Admin email 12 years 2 months ago #21657

  • Kroll
  • Kroll's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I've also tried a lot of possible solutions, googled fot hours and came to the conclusion that is a bug. It's simply not possible.
The administrator has disabled public write access.

Value of Checkbox in Admin email 12 years 2 months ago #21683

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
It's neither a bug nor is it "impossible": you are using the wrong field to achieve this.
If you want a "yes/no" answer you should be using a "Radio Group" and adding the values like this:
Yes
No
Checkboxes on the other hand, as the HTML standard dictates, will only send a value when they are checked - so having a "No" value being sent when a checkbox is unchecked is something that doesn't work on this type of field; that's why radioboxes exist in HTML.
Due to RSForm! Pro's flexible nature, with some PHP coding, you could add a script that sets a default "No" value for checkboxes that aren't checked (upon form processing).
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Value of Checkbox in Admin email 6 years 6 months ago #38521

Or by using the following values:

Yes[c]
No
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!