I'm trying to prepopulate a radiobutton with a German formatted number

  • siod
    Asked on April 22, 2018 at 8:23 AM

    I'm trying to prepopulate a radiobutton with a German formatted number (with a comma instead of a dot):

    https://form.jotformeu.com/81112702701340?typeA=0,2

    Unfortunately the form prepopulates the radiobutton with value "2" instead of the radiobutton with value "0,2".

    Using a masked comma is also no solution: https://form.jotformeu.com/81112702701340?typeA=0%2C2

    Using a dot in the number is also no solution because this form should be used in an area where commas are used to separate numbers.

  • Adrian
    Replied on April 22, 2018 at 9:44 AM

    Use the following format instead.

    https://form.jotformeu.com/81112702701340?typeA[1]=true 

    where 1 is the index of the option in the question and true means that the option should be selected.

    I suggest you use our Pre-Populate Application which will generate the pre-populated URL automatically for you.

    https://prepopulate.jotform.io/

    Let us know if you need further assistance.

  • siod
    Replied on April 22, 2018 at 11:30 AM

    Works. Thank you! :-)