What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Conditional Logic: Values on input field are being passed as "0" on another fieldAsked by afckredieten on December 02, 2015 at 07:57 AM
I'm still waiting on a response i posted 2 days ago.
In my complex form, there a couple off update form fields not working
And also a couple of show hide (basic) conditions that aren't working properly. See previous post.
When do i get an answer please, my client is waiting the final draft to go online with it.
Could you share us the link to the thread you are referring to?
I checked our records and the latest or most recent post you have are the following:
It would be best to also make the follow up directly on the said thread so that we can avoid duplicate post and to avoid confusion.
We'll wait for your response.
Strange, i don't find it, i'm sure i made a verry long thread last tuesday evening. Ok i'll describe it again.
But a serious problem is that the update formfields isnt working, everything is set correct. But the only thing i sometimes get is a 0 instead of the sumbissiion that's put in the source field where i'm reffering at. I use this for adress, so the applicant fills on page 3 his adress
like this straat is streat, housenumber is huisnummer, and so on zipcode is postcode,...
This is a screenshot of the source
and then is this the place where i ask is your business located at the same home adress if answerd yes the conditios are set that the fields are updated, but it doesnt work (i have this a couple of times futher down in the form with other adresses) page 5
this stays empty, but futher down there is a question heeft u een bijberoep ja/nee (yes/no) when answered yes, there are new questions showing up, with again is the adress the same as the home adress, yes-> gives 0 in each field apparently i can put another screencapture to show it
this is the form https://form.jotformeu.com/53324477398365
this is the screencapture of the field update where it gets the 0 instead of the source submission
And the seccond problem is that some basic conditions of show or hide doesnt work
this for instance (page 5)
The form is quite long and lags in my end, I'm investigating it further, but it seems like the conditions are not working because there are errors or deleted fields that are still tied on your conditions.
That will cause problems on triggering your conditional logic like the "Show/Hide" function.
I also made a test form to replicate the issue regarding the value showing "0", and was able to do so. Here's a sample form: https://form.jotform.com/53354398210959?
The problem is that the value from a text box is numerical
Now to change it to a text string value, you need to click "0-9" and it will change to "a-z". Here's a screencast:
I have forwarded this issue to our developers to have it checked and fixed.
Apologies for the inconvenience.
Sorry, you're response is not correct, indeed there a lot of deleted fields and conditions, but this is becouse i copied the wrong form. In fact it's the same form but i deleted the co-applicant part of the form (about 150 fields) this as a test to see of the loading times improved. Becouse you and you're coll. always mention that the form is long.... but in fact i went from more than 500 fields to less than 400 i dont know where i can see how many fields i have. But the point is tha'lt the speed went up in stead of better. Now you probably respond that the form without the co-applicant has a lot off deleted conditions.
Now i need to say, that i have other forms off about 250 300 fields and the speed is always around 10 seconds. Even my calculator form which is 20 fields or so is not fast in comparhison.
Her you have a demo from formdesk, more than 500 fields and the loading time is about 3 sec.
I have a form from123contact also about 250/300 and the loading timeis less than 5 sec.
Jotforms is way behind these other tools. I do like jotform, but i"m really considering to switch at formdesk.
This is the same form, with the co-applicant, and you'll see here are no deleted conditions
and i have the same issues
ok the speed issue is one thing, and i agree this is for another thread that i already have running.
The conditions which doesnt work in the form without deleted conditions is more
I changed the number format to a-z format like you said above in the update but i regret it doesn't work ;-(
My colleague had already submitted a bug ticket report about the issue to our higher team support.
We will notify you here immediately as soon as we have update on the status.
Thank you for your patience and understanding.
I'm waiting to go live with the form, but as long as the conditions are not working properly i cant go live. Do you have an update, or an indication when the bug/problem will be fixed.
In the calculation settings, check first the "Add field to equation as text by default" option before adding the field in the equation. See if that helps:
If this is not working, try removing the Input Masking in the fields:
Unfortunately, we don't have an update about the report, but it's already assigned to our developer. They should let you know through this thread for updates.
I hope the above suggestions will work for you.
the problem is that you're printscreens, i still get the old conditions set field in the middle of the screen and not the new one at the side (sometimes i do get the new, sometimes the old strange)
but in the old i went to advanced options below the calculation field to set as text
unfortunatly, it doesn't make any difference, the input mask is only set on the postal code, and needed as a validation for a correct zipcode submission, but ok i removed it, also without any difference
what did change is that i have no longer 0 filled in the seccond form update field
Also this condtion "Heeft u een vennootschap" Ja/Nee ( do you have a business/coporation) if yes the question welk type vennootschap (type of coporation legal identity) needs to show, but it's always shown. it's not another thread, see above
Apologies for the inconvenience.
Our developers informed us the conditions should be working as expected. As mentioned earlier, make sure that you have set it to "a-z" instead of "0-9" if you are on the old calculation wizard.
Also, please do make sure that you have set the correct target field and the original field from your conditions.
In my end, I'm seeing the new condition wizard, could you kindly check again if you are still on the old one? I checked your account and the new condition should be the one displayed. However, the same approach should still be the same.
I cloned your form and this is how I noticed it:
Noticed that the "Bus" field from your "FROM" statement is on a later part of the order list. This means it's capturing the "Bus" field from a similar field that is at the last part of the form.
While the "TO" field is where the input value will be outputted, noticed that it is on the mid or earlier part of the form.
If you are filling out the form in order, then the value won't be captured because the last part of the form fields are not yet filled out. I'm not sure if this is the correct order of your form fields. But based from what you mentioned earlier, the values should originate in page 3 and output it on page 5?
It's same on this field, noticed that the origin of the value is at the later part of the form, and the target output field is on the earlier part.
If you used the "Copy a Field's value", then it should work by copying the input directly. Here's a test form: https://form.jotform.com/53354398210959?.
Could you please recreate and see if this resolves the problem.
For the other problem you mentioned, I opened a separate thread for it to avoid confusion. Please refer to this guide: http://www.jotform.com/answers/717953. I did not opened a separate thread for it on the first time as I see there were errors in some conditions related to "Show/Hide", thinking resolving them would also resolve that issue. But as you have mentioned, it is still not working.
Apologies for the inconvenience.
the Source fields on page 2 are used on different parts on the form, after the one with the problems, so it's normal that you have different to fields
first update fields are the applicant his work informations, as mentioned i business located at hom adress, followed by question do you have a seccond job if independant is this job located at home adress,. But futher down the form, i have a part for the partner of the applicant (married, living together) where i ask same adress yes .... filled source adress from page 3. Has the partner an independant bussiness, located at home adress,....
Than i have the part for CO-applicant, his info adress, work info... is he independant wit business yes at his home adress, and than the co applicant his home adress is the source for the same workflow as above for the applicant, partner co applicant, partner's business ....
and yes alll the conditions are set as TEXT
AND as i said i have sometimes the new conditions at the side of the screen, and somtimes the old (in the same form) for this fields i have the old.
But i did everything as you said, and what you say about the bus from the last page I dont see this, in my old form i checked it again and see that the source fields are always the fields from the applicants adress, at page 3
Also the condition have you a coporation with show/hide type coporation is NOT working and yes the conditions are set normal, and yes not only on my pc, but also on another and on an ipad.
So what, now that the developpers are saying that everythings works? but you see for youself that the updates are not working
Why do i have than the new conditions builder than the old one mixed in one form?
ok i see that the Bijberoep update field after the first set of adress update fields is still 0-9 instead of a-a but these are other conditions, it is a complete other set of conditions, ok i will check them all but do you really mean because futher down the form there are field updates that are not correct set, the first update fields which stand alone and have nothing to do with eachother that this is the reason. Ok i will change them all, but i already now the answer. I'll get back with the same topic.
And i didnt get a response for the other question with the show hide problem wich has nothing to do with update fields
Once your form is updated, let us know and we will be happy to have another look.
Your other question has been addressed in this thread here: