Change unit price

  • Profile Image
    Asked on August 02, 2020 at 08:32 PM

    Hello support,


    Can you help me change the unit price from $ to PHP- Philippine peso? How do I also add to type in the patient's AGE right after birthdate?





  • Profile Image
    Answered on August 02, 2020 at 10:27 PM


    Select the product list field, click on the Product list icon, go to Settings, and then change the currency:


    I have made that change on your form.

    How do I also add to type in the patient's AGE right after birthdate?

    Firstly use a Date Picker field for the Date of Birth field.


    You can set up the form to automatically calculate the Age from the birth date. For that, you will need to add another Date field on the form and set it up to the current date.


    Hide the current date field and add a Short text field for the Age:


    Then create a condition that says, "If the 'Date of Birth' date field is filled, calculate the age". 

    To calculate the Age, subtract the "Date of Birth" date field value from the "Current Date" date field value. The difference will be in days, so you need to divide the value by 365.25 days to get the year(s). 

    You also need to get the value rounded down, that is why you will use the "floor()" math function.


    I would also suggest you disable future dates for the "Date of Birth" date field.


    Please check this demo form: 

    You could clone this form into your account if required: How-to-Clone-an-Existing-Form-from-a-URL