Remove $ dollar sign from purchase order integration field

  • rhemaadmin
    Asked on March 31, 2018 at 5:26 AM

    In the purchase order integration form element, the total field includes either the $ or the currency indicator.  E.g. it shows $5 or 5 GYD.

    How do I get it to not show the $?  I want to use it as a quantity value instead of a cost.

    Thanks.

    Jotform Thread 1431270 Screenshot
  • BornaSepic
    Replied on March 31, 2018 at 7:17 AM

    I would recommend using the Form Calculation widget (shown below) to do this:

    1522494272formcalcone Screenshot 10

    I'll walk You through having it set up with just three easy steps!

    Step one:

    In the widgets properties remove the dollar sign from the "Default Result field.

    1522494658formcalctwo Screenshot 21

    Step two:

    Using the calculation values option in your form (one where the user decides which courses to take) set up the necessary values.1522494786formcalcthree Screenshot 32

    Step three:

    In the widgets settings set up the calculation that will add the courses to the final result.

    1522494870formcalcfour Screenshot 43

    Here is the result of the test form:

    1522494937formcalcresult Screenshot 54

     

    I hope this will help You!

    If you have any further question don't hesitate to ask!

  • Kiran Support Team Lead
    Replied on March 31, 2018 at 9:34 AM

    The workaround provided by @BornaSepic should work perfect. You may also refer to the guide below that can help you with assigning calculation values and performing calculations on the form.

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    Please get back to us if you need any further assistance. We will be happy to help. 

  • rhemaadmin
    Replied on March 31, 2018 at 10:11 AM

    Yes will give it a try. Thanks. 

  • rhemaadmin
    Replied on March 31, 2018 at 10:43 AM

    Ignore

  • Mike_G JotForm Support
    Replied on March 31, 2018 at 11:30 AM

    If you want to remove the dollar sign ($) from the Purchase Order payment field, I suggest you inject the following CSS codes into your form.

    .form-payment-price {

        visibility: hidden;

    }

    #payment_total {

        visibility: visible !important;

    }

    Here's a guide that you may use as a reference — How-to-Inject-Custom-CSS-Codes

    Result:

    1522510241t11 30 29 Screenshot 10

    I hope this helps. If you have other questions or concerns, please do not hesitate to let us know.

  • Kiran Support Team Lead
    Replied on March 31, 2018 at 1:02 PM

    No problem. Glad to see that the issue is resolved now for you. Please do not hesitate to get back to us if you need any further assistance. We will be happy to help.  

    Thank you for using JotForm! 

  • rhemaadmin
    Replied on March 31, 2018 at 1:09 PM

    You are welcome.  One more itsy, bitsy thing.

    Now the product list shows up with prices - I have added CSS to make this happen.

    However, when the form is emailed out, the prices appear next to the products.

    See sample:

    1522516108Capture Screenshot 10

    And see the $ is still showing on the total line.

    Thanks.

  • Kiran Support Team Lead
    Replied on March 31, 2018 at 2:44 PM

    Yes. The CSS code injected shall work only for the form view only. Though we have a feature to strip the payment field to separate fields, unfortunately, the products still display the price in the email. If you need to display the products separately in the email, you might consider using the checkbox field by assigning calculation values method.

    Thanks!