To add a Data Hook, click the Data Hooks tab and follow our Data Hooks guide.
The Data Hook below shows one way to split first and last names contained in the same field into separate fields. The JavaScript should work as-is, and you can even copy and paste it into your own list of Data Hooks in your data template.
Since all Data Hooks must be attached to a data template, feel free to use the sample data template (and sample data) below to test out the Data Hook above.
Feel free to use our Full Name Splitter sample data to see the Data Hook in action.