evolutionValidation

Former Member
Former Member

Is evolutionValidation only used to validate data in input fields, or can it also be used for client-side validation on select boxes and textareas? What can I use to validate select box and textarea input?

Parents Reply Children
  • Former Member
    0 Former Member in reply to Luke R Davidson

    jQuery(function()     
    {
    jQuery.telligent.evolution.widgets.editUser.register({
    		userId: $user.Id,
    		email: '$user.PrivateEmail',
    		wrapperId : '$core_v2_widget.WrapperElementId',
    		saveSuccessText: '$core_v2_encoding.JavascriptEncode($core_v2_language.GetResource('EditProfile_UpdateSuccess'))',
    		saveErrorText: '$core_v2_encoding.JavascriptEncode($core_v2_language.GetResource('EditProfile_SaveError'))',
    		formIncompleteText: '$core_v2_encoding.JavascriptEncode($core_v2_language.GetResource('FormIncompleteText'))',
    		plansUrl : '$core_v2_encoding.JavascriptEncode($core_v2_widget.GetStringValue('plansUrl', 'http://localhost:3000'))',
    		accountType : '#$core_v2_widget.UniqueId('AccountType')',
    	    birthDay : '#$core_v2_widget.UniqueId('day')',
    		birthMonth : '#$core_v2_widget.UniqueId('month')',
    		birthYear : '#$core_v2_widget.UniqueId('year')',
    		gender : '#$core_v2_widget.UniqueId('Gender')',
    		country : '#$core_v2_widget.UniqueId('Country')',
    		region : '#$core_v2_widget.UniqueId('Region')',
    		city : '#$core_v2_widget.UniqueId('City')',
    		displayname : '#$core_v2_widget.UniqueId('DisplayName')',
    		bio : '#$core_v2_widget.UniqueId('UserBio')',
    		workInterests : '#$core_v2_widget.UniqueId('WorkInterests')',
    		experience : '#$core_v2_widget.UniqueId('Experience')',
    		compensation : '#$core_v2_widget.UniqueId('Compensation')'
    });
    });

  • Former Member
    0 Former Member in reply to Former Member

    ... and the name of the profile field is 'Country'.