CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • validation for member forms
Pages: [1]

Author Topic: validation for member forms  (Read 1087 times)

mbrando

  • Guest
validation for member forms
May 05, 2009, 05:22:31 am
Hi,

Does Civi-crm support validation for member forms. I was looking at the demo and see that I can create custom fields. However I wanted to make sure the data in the field met some criteria like proper phone format or excluding free email addresses. Even if this is more manual that is fine too. I don't mind adding either php logic somewhere or Java script logic somewhere. I'm wondering where?

Thanks,
Mike

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: validation for member forms
May 05, 2009, 06:49:02 am

you can do that using javascript validation by modifying your template file (http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens)

You can also implement a civicrm hook as php code and add validation there. Note that hooks have been extensively tested with drupal and not with joomla. If you go down this path, connect with us on IRC and we can walk you thru

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mbrando

  • Guest
Re: validation for member forms
May 05, 2009, 06:58:36 am
Hi,

Okay, this is great. I have a client who is about to signup for a new a site based on civi-crm. It looks like this address their need.

Thanks for the speedy reply.

sincerely,
Mike

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • validation for member forms

This forum was archived on 2017-11-26.