Jump to content
Sign in to follow this  
Web Host Pro

Can I disable the VPS and dedicated "correct the following errors" alert?

Recommended Posts

Hi,

I would like if possible to not have WHMCS stop people from checking out from not inputting the  correct  options with VPS and Dedicated servers. I would rather just fix it when activating the account. The options are confusing and can be very off-putting for new customers.

Thanks!

Here is the options I would like to ignore if not correctly added at sign up. Basically all of them.

You must enter a hostname for your server
You must enter a prefix for both nameservers
You must enter your desired root password
Hostname (two dots needed eg: host.domain.com) 
servername.yourdomain.com
Root Password 
Name Server 1 eg: ns1 (leave out the domain name) 
ns1
Name Server 2 eg: ns2 (leave out the domain name) 
ns2

Share this post


Link to post
Share on other sites
11 hours ago, Web Host Pro said:

I would like if possible to not have WHMCS stop people from checking out from not inputting the  correct  options with VPS and Dedicated servers.

I don't think you could prevent the validation occurring via any change to settings - and i'd be dubious about whether it could be completely disabled via a hook either.

the usual work around would be to hide any fields you don't need and aren't required, or if required, to prefill them with appropriate, and if necessary, unique values.

I can think of a long winded way to get around the validation, but it would likely make the administration of the subsequent order/provisioning require greater manual, or coding. involvement.

Share this post


Link to post
Share on other sites

Thanks Brian, yeah I'm trying to avoid any changes that will just be overwritten with theme and WHMCS updates. It would have to be a hook to avoid it being overwritten with updates.

But thanks for thinking about it though. Maybe in the future WHMCS will allow a way to disable forced validation for checking out.

Share this post


Link to post
Share on other sites
14 hours ago, Web Host Pro said:

Thanks Brian, yeah I'm trying to avoid any changes that will just be overwritten with theme and WHMCS updates.

I suspect it's going to be many months until v8 (the next major release) goes in/out of beta and reaches a stable(ish) level... but I get your point.

14 hours ago, Web Host Pro said:

It would have to be a hook to avoid it being overwritten with updates.

though that assumes that v8 will work similarly to v7 or earlier.... yeah it probably will, and no doubt it will be an anti-climax of a release, but one can dream that something competent and coherent will appear.

hooking was one of the thoughts yesterday - I know normally it's an option to do it by editing the template, but if you wanted to prefill it with values, then it's only a CAPC hook - though unless those fields were hidden, then the user could edit them and then you're no further forward as they would then be prone to validation errors again.

16 hours ago, Web Host Pro said:

But thanks for thinking about it though.

FWIW - the long-winded way would have been to prefill and hide the four fields, and then use four product custom fields to get those values - that avoids any enforced validation, but would require either coding to move the values across, or later manual intervention.... i'm not overly keen on the idea, but it depends on how big of an issue this is on your site.

16 hours ago, Web Host Pro said:

Maybe in the future WHMCS will allow a way to disable forced validation for checking out.

I doubt it - their default position is to not give the user a choice and to make the decision for them... plus I don't even think there's a feature request for it (though that absence hasn't prevented them from adding features in the past).

i'd be all for making validation optional at the admin's discretion though.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated