Skip to main content
Participant
June 13, 2019
Question

text form field - placeholder to stay with entry

  • June 13, 2019
  • 1 reply
  • 421 views

I want my form to have text greyed out... Min SF and then when the information is entered, I would like it to add SF at the end of the number ex. 500 SF

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 13, 2019

So the field should show "Min SF" by default and when the user enters a number into it "SF" should be added to it automatically?

Participant
June 13, 2019

Yes please.....

try67
Community Expert
Community Expert
June 13, 2019

For the former, see: Is there a way to add instructional text to my text field that will disappear when clicked? (PDF Forms)

For the latter, use the following code as the custom Format script of the field:

if (event.value) event.value+=" SF";