Placeholder Text in Form Fields

FunnelBud enables you to include placeholder text in fields on a form and within custom fields. In order to enable placeholder text for a FunnelBud form, you must add the following line of code to your FunnelBud form embed code:

ss_form.hidden = {'_usePlaceholders': true};

Code added into the form code:


<!-- SharpSpring Form for (your form's name here) -->

<script type="text/javascript">

var ss_form = {'account': 'yyyyyyyyyyyyyyy', 'formID': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'};

ss_form.width = '100%';

ss_form.height = '1000';

ss_form.domain = 'app-zzzzzzzzzz.marketingautomation.services';

ss_form.hidden = {'_usePlaceholders': true};

// ss_form.target_id = 'target'; // Optional parameter: forms will be placed inside the element with the specified id

// ss_form.polling = true; // Optional parameter: set to true ONLY if your page loads dynamically and the id needs to be polled continually.

</script>

<script type="text/javascript" src="https://koi-zzzzzzzzzz.marketingautomation.services/client/form.js?ver=2.0.1"></script>

Placeholder Text and Custom Fields

For custom fields, you may want the field label to remain the same and have the placeholder text display an example of what the lead should input into the form field. FunnelBud provides the functionality to accomplish this within the custom field manager. While creating or editing a custom field, you will see an input labeled Placeholder. By inserting text into this field, the input value will override the field label text that would normally be displayed in the placeholder for that field on the form.

The placeholder field is available for the following custom field types:

  • Text input

  • Text area

  • Drop-down select

  • Country

  • States