How to stop registration form from allowing urls

Nootkan's Avatar


23 Nov, 2019 11:21 PM

Hi Ryan, disregard my email asking about my login credentials as I figured it out. I was wondering if there was a way to stop all urls from being added to the login page. I am getting some humans spamming the site by registering with urls in every field. I am still using Family Connections 3.6.2 as my server isn't upgraded to php 7 yet.

  1. Support Staff 1 Posted by Ryan Haudenschi... on 26 Nov, 2019 04:39 PM

    Ryan Haudenschilt's Avatar

    I'm not sure I understand what the problem is.

    If it is humans and not a robot, I don't think there is anything that can be done.

    If it is some spam robot, you could add some type of google captcha to prevent them.

  2. 2 Posted by Nootkan on 26 Nov, 2019 09:38 PM

    Nootkan's Avatar

    Hi Ryan, yes it is human. But if they can't leave a link in the form, the form isn't processed and they usually go away. Wordpress handles this with plugins.

    I don't have any php skills so I was hoping that someone in this discussion group may have a solution.

    I found this website:

    But I am not sure where to place the regex code inside the family cms registration form file to see if it works or not.

    For the record: captchas don't work anymore and are now easily broken by bots. But this isn't a bot it is definitely human.

  3. Support Staff 3 Posted by Ryan Haudenschi... on 05 Dec, 2019 06:34 PM

    Ryan Haudenschilt's Avatar

    You would want to add the code to register.php in the displaySubmit function.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

11 Jun, 2022 02:41 PM
23 May, 2022 03:37 PM
23 May, 2022 11:53 AM
23 May, 2022 11:51 AM
15 Jun, 2021 10:50 AM