Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding special characters to numbers not to text

Participant ,
Jun 16, 2025 Jun 16, 2025

Good Day Pros, 

 

               I am reaching out today as I have a situation where I have a text box " % Body Fat ".  I am looking for a way that if a number is entered in it will add the % sign to the backside of the number. If the text W/S is entered, it will just be W/S. Is it possible to do this?

TOPICS
Create PDFs , PDF , PDF forms
138
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 16, 2025 Jun 16, 2025
LATEST

Enter the following as a custom format script:

if(!isNaN(event.value))
{event.value=event.value+"%"}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines