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.


  • Profile Image

    Conditional Logic handled by a File Upload field failed when submissions are edited.

    Asked by sudsport on December 22, 2014 at 05:56 PM

    Hi,

    In my registration form on a sportive event I am requesting the participant at registration time tp join  a copy of thier sprotive licence or medical ability certificate, to preserve confidentiality I only display for all the participant "Licence or Ability Certiticate" provided Yes / No.

    Somehow some participants have been able to provide certifcates wthout trigerring the Yes as the file field remained empty

    Do you have an explantion ?

    The falty registrations are with error on certificates are:

    Thanks for your help,
    Georges

    Page URL:
    http://sud-sport.com/inscriptions_formulaire.php?course=43477391708969<br/>&amp;nom_course=TEAM%20CHALLENGE%20PIC%20SAINT-LOUP%202015%3Cbr%3EVous<br/>%20vous%20insc

    registration form JotForm uploads jpg
  • Profile Image

    Answered by raul on December 22, 2014 at 06:53 PM

    I cloned your form and made some tests and the condition worked all the time

    I'm not sure why these submissions went by with the wrong Certif value, but I did clear your form's cache to see if it helps to prevent this from happening in the future.

    You may also need to check if these submissions were made in older versions of any of the available browsers since this conditions are handled using JavaScript and even when our development team work hard to make the scripts work in most versions of each browser. In some occasions, the scripts could fail.

    Let us know if the issue persists to further investigate.
    Thank you.

  • Profile Image

    Answered by sudsport on December 28, 2014 at 12:22 PM

    Hi,

    The issue still persist in 50% of the time.

    I asked Amendine Davezeaud her working conditions and she used Firefox 34.05 for the registration.

    I can find a lot of errors on different registrations forms, I have been able to fix the ones from "Vailhua'Trail" and "Roc des Mates"by editing the registrations opening the attacdhements and reloading them with the appropriate button hence we now have the "medical certificate" or "licence" in 2 instances in the registration form.

    The thre forms for which I have erros on file load are:

    http://sud-sport.com/inscriptions_formulaire.php?course=43477391708969&nom_course=TEAM%20CHALLENGE%20PIC%20SAINT-LOUP%202015%3Cbr%3EVous%20vous%20inscrivez%20pour%20les%206%20courses%20du%20Challenge

    http://sud-sport.com/inscriptions_formulaire.php?course=43494974101962&nom_course=VAILHAU%27TRAIL%202015

    http://sud-sport.com/inscriptions_formulaire.php?course=43483095485969&nom_course=ROC%20DES%20MATES%202015

    No editing has been made on "Team Challenge 2015" to get appropriate "Certificate / Licence" status according to attachement or not.

    Thnaks for your help,
    Georges

  • Profile Image
    JotForm Support

    Answered by KadeJM on December 28, 2014 at 02:12 PM

    We appreciate the update about this problem from your end. We will need some time to check on the issues you had mentioned for the jotforms above and then we'll update you as soon as we can.

  • Profile Image
    JotForm Support

    Answered by KadeJM on December 28, 2014 at 03:25 PM

    I've done some more investigating of this issue but so far I'm unable to replicate this issue on my end either. As far as I can tell your current conditional setup is working as it should. I went through them but I'm not finding any issues.

    I also noticed that your file upload doesn't really have anything that would be majorly affecting it directly so therefore at this time I'm unable to find any specific problems with it either. Additionally, you have two other unique identifiers working via conditions but they're only associated and that wouldn't affect it either. 

  • Profile Image

    Answered by Georges on December 29, 2014 at 05:28 PM

    Hi Kade,

    Latest update from Amendine Davezeaud shie registered using:

    windows 8 home  and Java 10.67.2.1 with Firefox 34.05

    I hope this complement will help.

    Best Regards,
    Georges

  • Profile Image

    Answered by Shadae on December 29, 2014 at 07:06 PM

    Hi Georges,

    Thank you for providing us with that additional information.

    I tested on a Windows 8 system using the latest version of Firefox and was not able to replicate the issue described either.

    Can you ask your user to clear their browser cache and inform us if they are still getting the same error?

    Are you able to replicate this issue on your end? Or is the issue only identified through your submission data?

    We await your response.

    Thank you.

  • Profile Image

    Answered by sudsport on January 09, 2015 at 12:50 PM

    Hi Shadae,

    I am afraid I cannot ask to non IT specialist to clear their browser cache.

    On my end it is working without any issue but I found that when one of my colleague is editing the records to say "paiment received/checked, the Certificat in "Yes" Status  is switched to "No" although the attachment files is still there but not attached to the "file upload" button.

    This is very annoying.

    Thanks for your help,

    I wish you and all the JotForm team "A happy new year"

    Regards

    Georges

  • Profile Image

    Answered by Shadae on January 09, 2015 at 02:25 PM

    Hi Georges,

    Happy New Year to you as well!

    To confirm, are you stating that, the issue may not be with your users filling out the form but whenever the form is edited, it is automatically switched to "No" so when you check the records, you are seeing it as "No" along with the uploaded file?

    If that is the case, can you flag the submissions that have been edited and has had this result? So that we can look into this further.

    We wait your response, thank you.

  • Profile Image

    Answered by Shadae on January 09, 2015 at 02:29 PM

    Hi Georges,

    I am also seeing that the "Yes/No" field is no longer on your forms. Have you removed that field from the forms?

    Thank you.

  • Profile Image

    Answered by sudsport on January 09, 2015 at 04:01 PM

    Hi Shadae,

    The field is still there but it's an hidden field in read only mode.

    OK next time I'll flag th record for which the field is unproperly set after editing, currently all of them are OK as I edited  the record, openned the file and reloaded it to get the appropriate value for the field.

    Regards,

    Georges

     

  • Profile Image

    Answered by raul on January 09, 2015 at 04:16 PM

    Thank you for the additional information.

    We'll wait then for you to let us know if you find a record in which the "Certif" field value is incorrect when the form is edited, so we can investigate this further.

    Best Regards.

  • Profile Image

    Answered by sudsport on January 09, 2015 at 04:43 PM

    Hi Raul,

    I had to edit the records 2, 3 and 4 (flagged as requested to change the field value of "Manifestation", these three value ah the certificate value set to "Yes" prior to editing and after editing it is set to "No".

    So I think that systematically if the field value is set properly initially it is falling back to "No" furing Editing, I tried to cancel the modifications but whenever I enter the Edit mode it is set to "No".

    This is very annoying as I have to fiddle later on with each record in order to edit for each a value ofr the field "Dossard".

    Thanks for your help,
    Regards,
    Georges

  • Profile Image
    JotForm Support

    Answered by KadeJM on January 09, 2015 at 05:41 PM

    I do see what you mean by that after checking it more. However, to my knowledge unfortunately there's no way to circumvent since that's really not a bug but more due to how the field is since it is hidden. The only way around that would be if you either use an alternative field marked for that input that isn't hidden or unhide that one although I know that will probably go against your current setup. I'll have to think about this some more to see if there's another way maybe.

    The reason it defaults back to an unattached response in the field is because it doesn't know it's being edited since the field is hidden so it gets ignored. Because of that after it has been edited the conditions then kick in thinking nothing is attached an the field therefore resets itself as you have already noticed and pointed out. This is also part of the additional reason of why you can't edit your hidden field in Edit Mode.

     

    Submission:

     

    Edit Mode:

     

    Edit Attempt on Hidden Field:

     

  • Profile Image

    Answered by sudsport on January 09, 2015 at 06:31 PM

    Hi Kade,

    I am afraid this has nothing to do with the hidden or not status of the field, I tried all the possibilities and came to the same "No" contents in Edit Mode.

    I suspect that is is due to the fact that the "Oui/non" is triggered by a condition base on field "Licence ou Certificat Medical" not empty hence it is working:
    - at intial submission except specific case
    - in Edit mode if I reload the file which trigger again the condition.

    You'll see that I corrected the flagged records in edit mode by:
    - opening up file
    - reloading it by searching in in the temp directory.At the end the process my fiel is set to "Yes" and the file only appear once which is great but we could have expected to have 2 instances of the same file.

    So I definitively think it is a bug, of may be there is another internal field which I could check for the prsence or not of a file.

    Thnaks for your help,
    Georges

  • Profile Image
    JotForm Support

    Answered by jonathan on January 09, 2015 at 11:23 PM

    Hi Georges,

    Is this still the jotform http://www.jotformpro.com/form/43555922769973 that was having issue?

    I apologize as I need to ask you again for more details. I am lost at the thread as it seems the discussion had veered away from the original issue that was mentioned from the beginning.

    Can you please indicate specifically which conditional statements from the form is not working.

     

    I could not seem to find the Yes/No condition statement that you mentioned from the very start of this thread. If we can focus on that issue, we will be able to understand what was failing or if there is really a bug.

    Will wait for your updated response.

    Thanks.

     

  • Profile Image

    Answered by sudsport on January 11, 2015 at 01:15 PM

    Hi Jonathan,

    The statements which are not working are #22 and #23:

    I have the same problem with the form http://www.jotform.com//?formID=43477391708969, and the statements:

    Best Regards

  • Profile Image
    JotForm Support

    Answered by jonathan on January 11, 2015 at 02:44 PM

    Hi,

    This is a bit weird and I am still trying to check more what was happening because I could not seem to see those conditional statement on both of your jotform

    http://www.jotformpro.com/form/43555922769973

    http://www.jotformpro.com/form/43477391708969

     

    Can you please confirm if both jotform were the correct form to check?

    Thanks.

  • Profile Image

    Answered by sudsport on January 11, 2015 at 06:06 PM

    Hi Jonathan,

     

    I cna confirm that the forms are:

    http://form.jotformpro.com/form/43477391708969

    But in this form I temporarely deleted the condition if "Licence ou Certifcat Medical" Empty then Insert "Non" into Certif, to check if this was the source of the error, but t had no impact excepte emptying the field at edition time, so I put it back. Probably you looked at it while the "Insert Non"  it was deleted.

    http://form.jotformpro.com/form/43555922769973

    On the secobnd form no chnages has been made, but the conditions are sligtlhy different although Including Oui and Non conditions.

    Sorry for the trouble I may have caused you.

    Best Regards,
    Georges

     

  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 11, 2015 at 10:07 PM

    Hello Georges,

    I'm sorry for the trouble caused to you.

    This thread has become quite long and if I understand your issue correctly, you mean to say that the condition you have added to check of the value of file upload is filled or not. Is that correct?

    I am not sure if this is a bug. The condition is triggered correctly when you select a file to upload and it does inset the value "Oui" in the "Certif" field. The issue is that when you try to edit the submissions, the uploaded file is displayed but technically the file upload question is still empty and hence the appropriate condition to check empty is triggered. Please check the screenshot below:

     

    I am not sure if this is a bug and unable to find any workaround solution to resolve this issue. Let me report it to our back end team. We will get back to you as soon as we have any update from them.

    Thank you!

  • Profile Image

    Answered by sudsport on January 12, 2015 at 02:23 PM

    Hi Ashwin,

    Your understanding of my issue is correct and I understand as well that the trigger I am using to set the field to "Oui" is a temporary trigger, thta is why I was looking for an intenral field which relates the attached file to the specific registration record.

    Thanks for reporting it to the back end team.

    Best Regards,
    Georges

  • Profile Image
    JotForm Support

    Answered by jonathan on January 12, 2015 at 02:28 PM

    Hi Georges,

    The bug ticket report submitted by our colleague Ashwin was now assigned to one of our developer and will be checked on.

    We will let you know here once you we have update on the status.

    Thanks.

  • Profile Image

    Answered by sudsport on January 16, 2015 at 01:01 PM

    Hi Nicholas,

    I can confirm that the issue is solved on the 2 environments we are working on:

    - Ubuntu 14.04 KDE, Firefox

    - Windows 7 - IE10

    Many thanks for your quick fix, you can close the thread.

    Best regards and best wishes to the whole JotForm Team, you are doing greta keep going.

    Georges

     

  • Profile Image

    Answered by Sean on January 16, 2015 at 02:22 PM

    Hi sudsport.

    I am happy that we were able to resolve your problem. Thank you for your kind words and we will always be here for your support.


    Cheers!
    Sean