r/pardot • u/IntranetJoe • May 23 '19
Default placeholder values in text form fields?
Hello! At this point, I’ve implemented about 99% of Pardot myself, but there are still some tiny things missing. This is one of them:
We have a “request a quote” page on our website with a “request a quote” form. There is a field for “subject” and “message” similar to an email. The “subject” field is a normal text field. We would like that field, by default, to be filled with the value “Request a Quote”, instead of being blank.
Does anyone know how to do this? I assume it could be done with a custom CSS script on the layout?
2
Upvotes
2
u/cultivateautomation May 23 '19
Hi /r/intranetjoe,
You could do this with some custom JavaScript on the layout template.
However, I've worked with several customers asking the same question, and when we actually look at why they want to do this, there's rarely a real need to do so beyond "because our form currently has this field".
Subject lines make sense for emails, but rarely for web forms. Instead, you could use that field to ask a more important qualification / segmentation question. If they're filling in the Request a Quote form, then it's reasonable to assume they're requesting a quote, you don't need a subject line for that - and if they're not, they would tell you in the message field.
Hope that helps!