How to assign a defualt field

  • Profile Image
    deakintezet
    Asked on December 04, 2017 at 08: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.

     

  • Profile Image
    Richie_P
    Answered on December 04, 2017 at 09: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.

    And the output will be this:


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

  • Profile Image
    deakintezet
    Answered on December 05, 2017 at 05: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.

  • Profile Image
    aubreybourke
    Answered on December 05, 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

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

    1512486094sim.gif

    You can see this working here:

    https://form.jotform.com/73384049946973