Page 1 of 1

Form checkbox export strings for checked or not checked

Posted: Fri May 29, 2020 11:10 am
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

Re: Form checkbox export strings for checked or not checked

Posted: Fri May 29, 2020 12:06 pm
by Pablo
Unfortunately, if the checkbox is unchecked/off then the browser will not send the value to the server.

Re: Form checkbox export strings for checked or not checked

Posted: Fri May 29, 2020 12:42 pm
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?

Re: Form checkbox export strings for checked or not checked

Posted: Fri May 29, 2020 12:59 pm
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.