Reading Time: 1 minute

It is fired before going to the next page. Good for both checking the validation of the current page and set the next page based on values of fields.



Type Comment
{Boolean} false The current page is invalid, stay here and show an error
{Boolean} true The current page is valid, go to to next page
{String} The current page is valid, go to

If the user is older than 60 years old and doesn’t have internet, he cannot be our new customer, go to the final page.

$('page').onNext = function() {
     var age = vcc.getFieldValue('age');
     var hasInternet = vcc.isSelected('internet', 'yes', 'export_value');
     if (age > 60 && hasInternet) {
         return 'final';
     } else {
         return true;

There are no comments yet.
Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live® about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live® will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.