Streaming live at 10am (PST)

Dynamic Form Names?

How would I add a dyanmic form name from the CMS fields? I need to name each form based on the campaign that I am setting up in the CMS. Any tips/hacks?

Hi @cjroe

I’ve just had a look at your campaign template, looks like you have got it sorted now?


Hi @cjroe

You can pull any data from the CMS in your form using the following code:

<script type="text/javascript" language="JavaScript">
document.write('<input ');
document.write('   type="hidden" ');
document.write('   name="Campaign" ');
document.write('   value="NAME">');
//--> </script>

Replace the word NAME with the dynamic field you want to include in the form submission.


​Hope this is helpful.


Thanks. I actually ended up figuring that out! I used the embed block. Thank you!

1 Like

This topic was automatically closed after 60 days. New replies are no longer allowed.