Solved! Go to Solution.
Can we add more than one token to the Form CTA in the form level? I have 2 LPs in the same program and they both are using the same form but the CTA has to be different. How can I execute this properly?
A thought - Instead of making changes in the global form to accomodate this case, wouldn't it make more sense to hard-code/overwrite the submit button lable using JS in both the LPs for this program?
How can I overwrite this? I tried over writing in so many ways but nothing worked.
Try adding the below script on LPs -
<script>
MktoForms2.whenReady(function (form){
form.getFormElem()
.find('button.mktoButton')
.html('BUTTON TEXT'); //Change the text as per the need
});
</script>
Where exactly do I have to add this script? I tried adding inside the Meta tag section, but nothing is happening there.
You should add the JS in the body of the page, in the HTML element or the HTML section within one of the Rich-text area's (WYSIWYG) element in the LP.
I did that too. But nothing changed.
Can you please share the LP URL so that we can have a look? Thanks!