• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

WordPress Tips and Tricks

  • Home
  • WordPress Tutorials
  • Useful Links

Gravity Forms

Home - Gravity Forms

Prevent Links in Gravity Forms Paragraph Text Field

December 27, 2020 by wptricks

I was having an issue with link spam in a Gravity Forms paragraph text field. Here is a code snippet that validates the field and prevents link submissions. Place the code in your theme’s functions.php file. Replace ‘[form number]’ with your form number. Replace ‘[field number] with the field number.

Read morePrevent Links in Gravity Forms Paragraph Text Field

A Few of Our Favorite Products


Copyright © 2023 · WordPress Tips and Tricks · All Rights Reserved

Back to top