Remove $ dollar sign from purchase order integration field

  • Profile Image
    rhemaadmin
    Asked on March 31, 2018 at 05: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.

  • Profile Image
    BornaSepic
    Answered on March 31, 2018 at 07:17 AM

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

    1522494272formcalcone.png

    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.png

    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.png

    Step three:

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

    1522494870formcalcfour.png

    Here is the result of the test form:

    1522494937formcalcresult.png

     

    I hope this will help You!

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

  • Profile Image
    Kiran
    Answered on March 31, 2018 at 09: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. 

  • Profile Image
    rhemaadmin
    Answered on March 31, 2018 at 10:11 AM

    Yes will give it a try. Thanks. 

  • Profile Image
    rhemaadmin
    Answered on March 31, 2018 at 10:43 AM

    Ignore

  • Profile Image
    Mike_G
    Answered 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.png

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

  • Profile Image
    Kiran
    Answered on March 31, 2018 at 01: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! 

  • Profile Image
    rhemaadmin
    Answered on March 31, 2018 at 01: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.PNG

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

    Thanks.

  • Profile Image
    Kiran
    Answered on March 31, 2018 at 02: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!