How to hide the Client Details page in the Get Quote process
Pinned FeaturedBelow is some code that will automatically skip the client details screen in the get quote process.
One thing to remember when using this, is that you will need to capture the relevant client details in the question set. Eg. Client Name, Address, Email address, Password (if Direct).
To get this to work you will just need to paste this into the custom JavaScript tab in the admin section.
jQuery(function($) { // Client details page after quote if (window.location.toString().indexOf('getquote/client.aspx') > -1) { // Make sure there are no errors var errorLabels = $('label.error'); if (errorLabels.length == 0) { $('#Next').click(); } } });
Hope this bit of code helps people out. Any questions please ask.
Thanks
Adam
Please sign in to leave a comment.
Comments
0 comments