WP Cost Estimation Form - Input mask for number fields

Hello Support Team,

We’re trying to accomplish something quite simple - we have 3 Number fields on our form, and we just need to add an input mask on each of the field so the user can only enter 4 digits. We’re aware the Text field has the validation mask option, but we won’t be able to accomplish the same complex calculations that we can with the Number field.

Please let us know if there is a solution for this.

See link for reference: https://dev.theralase.com/roi-calculator/

Thank you,
FBC

Hello Michael,

Thanks for writing in!

You may need custom calculations like is the number is less than 5 digits then it will calculate.

if input < 9999 then
  do calculation
end if.

For more details, you might need to check this out:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.