• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Validation Rule on Additional Attributes by event

Validation Rule on Additional Attributes by event 11 years 10 months ago #24112

I've created a new Validation Rule in order the check if a domain is available or not.
It's working only when a submit or when change the page by page brake.

Is there some how for validating by trigger such, onblur or any other, straight on the field?


function Checkdomain($param,$extra=null,$data=null)
{

if ( gethostbyname($param) != $param )
{
return false;
}
else {
return true;
}

}
The administrator has disabled public write access.

Validation Rule on Additional Attributes by event 11 years 10 months ago #24116

  • lking
  • lking's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 24
Hello,

Would you mind to share and explain the code about how to check if the domain is available? I was wonder how does it works.

Thanks
Josh
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!