Hi there,
Just wondering if there is a quick way to make the website field on the sign up form compulsory?
I have played with the code but cant find the correct area to adjust?
Many thanks for the great support.
Hi there,
Just wondering if there is a quick way to make the website field on the sign up form compulsory?
I have played with the code but cant find the correct area to adjust?
Many thanks for the great support.
Follow us! We post news and tutorials related to our tools, WordPress and WooCommerce on these platforms:
Hi Antonio,
Thanks, I have been into that file and tried some modifications but i am getting errors.
IT is more complex than I had hoped. WhenI make some changes It is throwing errors
I have tried to replicate the other required fields!
Can you assist at all as I cant get this to work?
Many many thanks
pete
Hi,
you could add around line 208, something like this:
$url = isset( $_POST['url'] ) ? Affiliates_Utility::filter( $_POST['url'] ) : '';
if ( empty( $url ) ) {
$url_class = ' class="required missing" ';
$error = true;
}
But remember to change the code is not advisable.
cheers
Hi,
right now it’s not implemented. You could create you own registration shortcode (in affiliates-pro/lib/core/class-affiliates-registration-php file you can see how to works the actual shortcode).
cheers