-
TeachFirstAsked on July 28, 2015 at 5:15 AM
Hello,
I am trying to do a similar task as this request, but instead of replacing the CR with a comma, I need to replace with a ; symbol instead.
I also need to cater for an "Other" option
Please can you advise?
Thank you
-
TeachFirstReplied on July 28, 2015 at 5:24 AM
Okay,
I think I've worked it out myself!
Simply to put in the calculation field a ; after the first ( and before the last )
It also seems to cater for the Other so not sure why I needed to add the values to the "Calculation Values" section in the check box.
-
JanReplied on July 28, 2015 at 10:58 AM
Glad to know that you were able to find a solution to your problem. Let us know if you need any help. Thank you.
-
TeachFirstReplied on August 12, 2015 at 12:15 PM
Hi, we are still having issues trying to output the calculation field with each item seperated by a semicolon (;).
At the moment I have managed to list each check box item with a semicolon at the end but the items are still followed by a comma (,) so I see this:
Starting a career in teaching;,Exploring career options;,Developing key employability skills;
What we need to see is this:
Starting a career in teaching;Exploring career options;Developing key employability skills;
Is there a way to replace the comma? Or remove it altogether?
Thanks
-
Mike_G JotForm SupportReplied on August 12, 2015 at 3:19 PM
I have checked your form and since you only have 4 items on your list, we can then pass each item selected to its own textbox field and combine the value of the textbox fields after to another field.
Please be noted, that we are going to use regular textbox fields and Conditions Wizard tool instead of the Calculation Wizard.
Fields on the image above should be set as hidden, I have unhid it temporarily for testing purposes.
Here's how it works:
Here are the conditions I've made:
However, you might encounter some troubles if you will include an "Other" option on your checklist since there is no way we can get only the value of the "Others" field.
I'm thinking of disabling the original text field of the "Others" option using CSS and adding a separate field that will appear if the "Others" option is checked.
I will work on that now and will post the solution here at a later time.
For the meantime, you can check the form I have used for testing and please feel free to clone it using this guide so you could inspect it.
http://form.jotformpro.com/form/52235967614966?
If the solution I have provided above doesn't meet your goal, please let us know so we can further help you.
Thank you.
-
Mike_G JotForm SupportReplied on August 12, 2015 at 4:34 PM
Here's another form that has now an "Other" option on the checklist:
http://form.jotformpro.com/form/52235938923967
I was able to do it by adding another checkbox on the form.
Then, I added only one option and allowed Other option.
I disabled/hide the only option I added using CSS injected on the form
Here's the code:
#input_22_0, #label_input_22_0{
display: none !important;
}
I've also used CSS codes to position the Other option, so it would look like as if it is part of the original checklist:
#id_22{
padding-top: 0px !important;
margin-top: 3px !important;
}
#id_13{
padding-bottom: 0px !important;
margin-bottom: 3px !important;
height: 91px !important;
}
Then,
Lastly, I have updated the condition on the form to make it work
Notice that I have removed the label(question) of the new checkbox added.
and the new condition added looks like:
I hope this helps. Let us know if you need any further assistance. Thank you.
-
TeachFirstReplied on August 13, 2015 at 10:59 AM
Thank you for the guide and the fast response. Our forms are now working exactly as required.