How to assign a defualt field

  • deakintezet
    Asked on December 4, 2017 at 8:14 AM

    Hello, here is my application form. If you choose the field called "A tanfolyami díj összegét" as "... harmadik személy fizeti." you get another field: "Adószám" with a set mask. I would like to take this mask only if the chosen country in "Számlázási cím" above is Hungary. But I would like to choose it as a default because most of our applicants will use this one. I cannot give a conditional to "unset" a mask and if I change the country Hungary to another one it still remains.

    Do you have any idea how to take Hungary as default and set the mask only for chosen Hungary country?

    Thank you.

     

  • Richie JotForm Support
    Replied on December 4, 2017 at 9:50 AM

    I am not sure if I have understood your question correctly.

    Do you want to make the country Hungary as default country in "Számlázási cím"and set a condition to disable the mask if other countries are selected?

    I have checked your form and Hungary is the default country already and to get the mask of the field, we can add  another condition to change the value of the Adoszam to ".".

    We can't assign a none value to fields,so a dot will do.

    Here is screen shot.

    How to assign a defualt field  Image 1 Screenshot 30

    And the output will be this:

    How to assign a defualt field  Image 2 Screenshot 41


    Please let us know if we can be of further assistance.

  • deakintezet
    Replied on December 5, 2017 at 5:58 AM

    Thank you but this is not exactly what I asked. I would like to have a mask if I to Hungary and to disappear the mask - to write anything I want - if I choose another country. If I take a dot to the condition I cannot write anything only a dot.

  • aubreybourke
    Replied on December 5, 2017 at 10:01 AM

    The only option you have is to create two text fields. One will store the mask for hungry. The other will be a regular text field (without any mask). Then you create a condition to show the field based on the country.

    1512485964Microsoft Edge 05 12 2017 14 5 Screenshot 10

     Note you will need to modify one of your existing conditions:

    1512486094sim Screenshot 21

    You can see this working here:

    https://form.jotform.com/73384049946973