Form checkbox export strings for checked or not checked

Issues related to forms.
Post Reply
CNS
 
 
Posts: 6
Joined: Sat Apr 18, 2020 7:42 am

Form checkbox export strings for checked or not checked

Post by CNS »

Hello. I am trying email form data most of which is successful.
However, I am using flipswitch (or checkbox) to email one of 2 values ("Disagree" for unchecked) and "agree" for checked)
Under the ;conditions' tab for not checked I use a caclulation to create a string to send using this [Editbox4].value="Disagree" and many other syntaxes but not seems to work.
Is there any other way of send strings or either checked or not checked
thanks
User avatar
Pablo
 
Posts: 23025
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form checkbox export strings for checked or not checked

Post by Pablo »

Unfortunately, if the checkbox is unchecked/off then the browser will not send the value to the server.
CNS
 
 
Posts: 6
Joined: Sat Apr 18, 2020 7:42 am

Re: Form checkbox export strings for checked or not checked

Post by CNS »

Yes, I thought as much but I want to send something else when the object is in the unchecked condition and that is what I have been struggling with either directly or putting text into a editbox. I presume the unchecked state must be detectable?
User avatar
BaconFries
 
 
Posts: 5799
Joined: Thu Aug 16, 2007 7:32 pm

Re: Form checkbox export strings for checked or not checked

Post by BaconFries »

It maybe possible to use a hidden checkbox within the form itself. See the following about this and ways to achieve.
https://stackoverflow.com/questions/180 ... checkboxes
Note for information only.
Post Reply