Dynamic Currency Prefix

  • Simonlunt
    Asked on July 21, 2018 at 8:12 PM

    This sounds straightforward but it has me snookered...

    I need user to select a currency and enter a monetary amount.

    I want to insert their selected currency abbreviation into the monetary field. 

    so if the user picks EUR Euro - they will see EUR already in the number field or in the label somewhere

    https://form.jotformeu.com/82013310617342

    Suggestions welcome. thanks!

  • luisvcsilva
    Replied on July 21, 2018 at 9:09 PM

    In order to add the currency abbreviation to the field, create a condition that concatenates the abbreviation to the beginning of the field, as shown by the image below:

    1532221769concat Screenshot 10

    You can see the form working in the screencast below:

    1532221694GIFrecord 21 07 2018  220747 Screenshot 21

    You can clone this form here:

    https://form.jotform.com/82018371314954


    Feel free to contact us,

    Thanks.

  • Simonlunt
    Replied on July 22, 2018 at 9:22 AM

    Thanks for response!

    That makes the 3 letters part of the entry.

    I dont want the 3 letters to be editable. and i need to restrict the entry to Numbers only.


    Is there a way to put the 3Letters into the Description or help text ?

  • luisvcsilva
    Replied on July 22, 2018 at 10:16 AM

    You can copy the currency to the field description by adding its ID within curly brackets to the description, as shown by the image below:

    1532268937descr Screenshot 10

    You can see your form working in the screencast below:

    1532268978GIFrecord 22 07 2018  111405 Screenshot 21

    And clone it here:

    https://form.jotform.com/82018371314954


    Contact us if you need any assistance,

    Thanks.

  • Simonlunt
    Replied on July 27, 2018 at 2:41 PM

    Thank you for your answer.  I've put the currency in the question header. Looks good.


  • Simonlunt
    Replied on July 27, 2018 at 4:55 PM

    Please can you tell me how to stop user entering more than 2 decimal places in my spend field ?

    https://form.jotformeu.com/82024015917349


  • Kevin Support Team Lead
    Replied on July 27, 2018 at 5:34 PM

    Since your last question is not related to the original matter on this thread, I have moved it to another one, we will assist you as soon as possible here: https://www.jotform.com/answers/1537723 

    Thanks.