Skip to main content
Participant
December 7, 2022
Question

formatting an auto-populating street address in fillable form

  • December 7, 2022
  • 1 reply
  • 2068 views

I have a form where the addresses auto-populate as a single line like:

1234 Main St., City, ST 123456789

and I want it to show up like

1234 Main St.
City, ST 12345-6789

If I cant break the line between street and city, is it possible to at least add a - in the zip?  Any help with the custom formatting javascript would be greatly appreciated.

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
December 8, 2022

What script does you use?

Participant
December 8, 2022

its seems to only allow javascript

 

 

Nesa Nurani
Community Expert
Community Expert
December 8, 2022

How do you populate address? You can use \n to break a line in script.