[buddypress-trac] [BuddyPress] #1236: Custom validation methods for profile field data

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Oct 15 13:31:01 UTC 2009


#1236: Custom validation methods for profile field data
---------------------------------------+------------------------------------
Reporter:  swinton                     |       Owner:       
    Type:  enhancement                 |      Status:  new  
Priority:  minor                       |   Milestone:  1.1.2
Keywords:  xprofile validation filter  |  
---------------------------------------+------------------------------------
 It would be nice if the xprofile component provided a means of validating
 profile field data using a custom function.

 For example, a profile field 'Post code' should only contain post codes.

 This could be achieved by applying a filter on the value returned from
 is_valid_field in BP_XProfile_ProfileData.

 3rd party plugins could then validate the profile data as required.

 A suggested patch is attached.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1236>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list