How can i use the % in a field

  • afckredieten
    Asked on August 2, 2017 at 10:01 AM

    Hello,

     

    I have a loan calculator, which shows the annual interest rate, depending on the loan amount

    Now i use a calculation field and a condition but without the % becouse futher down i use this number in the loan formula.

    Now i would like to have the % shown behind the field, or in the field as a suffix but rather not in the field because i use the field in quite a complex formula, where i will need to change the formulation when the % will go in the formula.

    my calculator is in dutch but the % field is JKP stands for Annual interest rate

    https://form.jotformeu.com/53444945626362

    i'm still working on it, before i used a normal number field but because i couldn't use this for currency someone adviced me to use a masked input, so i could use €.

    But when i use . for thousand separator and , for decimals the formulation on "Uw maandelijkse aflossing bedraagt:" is not working

  • BJoanna
    Replied on August 2, 2017 at 1:22 PM

    You can add a text field to your form with an only % sign and then you can position that field after JKP stands input field. You will have to shrink text box field and add this CSS code to the form: 

    #id_65 {

        width : 20px;

        padding : 0;

        position : relative;

        left : -80px;

        top : 15px;

    }

    #id_7 {

        width : 250px;

    }

    How to Inject Custom CSS Codes

    How can i use the % in a field  Image 1 Screenshot 20

    Here is my demo form: https://form.jotformpro.com/72135084249961 

    Feel free to clone it

    I have moved your other question to separate thread and we will provide you an answer there shortly. 

     

    https://www.jotform.com/answers/1214066 

  • afckredieten
    Replied on August 3, 2017 at 5:41 AM

    This is great, thanks, see answer other thread

  • Support_Management Jotform Support
    Replied on August 3, 2017 at 7:17 AM

    I'm glad my colleague's workaround worked great. You mentioned the other thread though and I'm seeing the last reply on that thread came from my colleague.

    https://www.jotform.com/answers/1214066

    If you have something to add or have a followup question, please don't reply via email. Instead, open your thread by clicking the link above, then post your reply from there.

  • afckredieten
    Replied on August 3, 2017 at 9:29 AM

    I always respond online, the answer on the other thread is not yet ready.