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

    Address fields problem

    Asked by rudydareeventemediait on April 04, 2013 at 07:49 AM

    Hi Jotform team!

     

    We have the same problem with 4 of our forms, in particular with the address fields.

    We created a form with address fields, with the state "Canada" already selected and a CSS field hidden: we injected css fields with this code 

    #input_3_state, #sublabel_3_state {

    display: none !important;

    }

    The problem is, the red alert appears when Canada is selected (ONLY with "Canada", the country we need to be selected!, it works with "Italy") and form can't be submitted but everythink looks ok!

     

    What can we do? I also remember you my previous problem about address fields: sublabels' name doesn't change as we try to change it!

    http://www.jotform.com/answers/196523-Address-field-sub-labels-do-not-change-on-the-live-form#8

     

    Please, can we have support? We need to solve it!

    Francesco

    Page URL:
    http://form.jotformpro.com/form/30873078804964?

    Screenshot
    problem Address Fields JotForm name hidden
  • Profile Image
    JotForm Support

    Answered by EltonCris on April 04, 2013 at 08:23 AM

    Hi Franceso,

    Since the address field is mark as required all it's sub-fields will become mandatory. Removing it's part without any values will trigger the "required validation error". To fix that, simply use URL parameter and fill in a value for the "hidden state field".

    The state field name on your form is adresse[state], to use that in URL parameter, check below for example:

    http://form.jotformpro.com/form/30873078804964?adresse[state]=ca

    adresse[state] <-- is the state field name

    ca <-- is a value that's prefilled to the state field. You can change this to anything you like.

    With having this, it won't trigger the error anymore. Let us know if you have further questions. Thanks!

    P.S. I have inquired an info to our dev team regarding on the not updating address sub labels. Thank you for your patience.

  • Profile Image

    Answered by rudydareeventemediait on April 04, 2013 at 08:37 AM

    Many thanks for the support, what you explained is perfectly clear, I think it could be a solution for this.

     

    Please let us know when you have news about sublabels' translation, for the moment many thanks!

    Francesco