Adding a trigger to the pagebreak button

You can add Javascript triggers to the Pagebreak buttons as well. The following example will display a simple alert message when you click the Next button from your first form page:

<script type="text/javascript">
function newF()
{
alert("Changing page.");
}
</script>

The trigger is added by going to the Components tab, editing your Pagebreak button and adding the following line in the Additional attributes property:

onclick="newF();"



4 persons found this article helpful.


Was this article helpful?

Yes No
Sorry about that

You Should Also Read

CSS and Javascript HOT

Form Attributes HOT

Anchor point HOT