Skip to main content
Participating Frequently
July 25, 2018
Answered

Place holder Text

  • July 25, 2018
  • 1 reply
  • 598 views

Good morning from Indonesi. im really a beginner on pdf

i have boss want to make a form. he want a form field that have default text $0, when we click that field we can put number that have format $ sign number.

im succeed to make placeholder text $0,  i use format script (Format>Custom> customformatscript>if (!event.value) event.value = "$0";)

But the problem is when we put text on that field, i cant make put $ sign by default. the format number is regular number without $ sign.

Could you help me

PS: im sorry my english is bad, hope you can understand

please see image to make it clearer

Thank you

This topic has been closed for replies.
Correct answer try67

Set the Format of the field to show the dollar currency symbol, and then remove it from your code.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
July 25, 2018

Set the Format of the field to show the dollar currency symbol, and then remove it from your code.