Input Mask: How to allow negative values?

  • Mark Ferguson
    Asked on April 5, 2024 at 6:48 AM

    Hi. I would like to create an input mask for location data. I am trying to create a mask for location data to allow a form recipient to input latitude and longitude values to 6 decimal places. E.G. ###.######. So far that seems to work great, except I can't figure out how to permit the recipient to input an optional negative value - for, at least as far as I can tell, the permit all (*) symbol does not allow for a negative signs, and a permanent '-' will not work for my use case? Any help much appreciated, Mark. :)

  • Israel JotForm Support
    Replied on April 5, 2024 at 7:01 AM

    Hi Mark, 

    Thanks for reaching out to Jotform Support. Unfortunately, what you are referring to is not possible as you cannot enter a negative sign when using an Input Mask as it only accepts numbers and letters. You need to disable the Input Mask if you want to allow a negative sign on your input box.

    While the feature you’re looking for isn’t currently available, rest assured we’re always working to add new services and features to Jotform. I've gone ahead and escalated your request to our Developer Team. When or if it's developed depends on their workload, how viable it is, and how many other users request it. If there are any updates, we’ll circle back to this thread and let you know.

    You might also want to check out this guide about Getting Started With the Basics of Input Masking.

    Reach out again if you have any other questions.

 
Your Answer