Re: Adding custom JavaScript to steps in Multistep Form (character limit exceeded)
Hi @jaja4114 ,
Please add a test function in your Web File like this:
function test(){
console.log("Calling test function");
}
Then add your file reference in HTML Copy field on content page of your main Web Page. Replace your file name with test.js.
<script src="/test.js"></script>
Now go to your Multistep Form -> Form step -> Form Options -> Custom JavaScript and add following code.
$(document).ready(function () {
test();
});
Try these steps, purge portal cache and check console if you can see log in browser's console. Otherwise please post screenshots of all steps that you're doing. Never mind this is completely normal while doing first time.
Feel free to share, if this is not working for you.
Thanks,
Saud
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.