Home › Forums › Plugin Support › Edit registration form HTML output
- This topic has 7 replies, 2 voices, and was last updated 12 years ago by 
ringitinc.
 
- 
		AuthorPosts
 - 
		
			
				
October 10, 2013 at 11:08 pm #4378October 11, 2013 at 1:46 am #4382
Support
MemberHello, You can use “HTML” field(from Fields Editor) in your registration form to add your html code there to wrappe content. And also you can assign custom class to any field to change look and feel.
Thanks.October 11, 2013 at 2:06 am #4383ringitinc
MemberHello
thanks for quick response.
I’ll try that now. Another question I have meanwhile, is that, is it possible to create a drop down field for the registration, which gets prefilled with the options automatically coming from list of WordPress categories?
For exampple, I have 20 categories, and when user registers, I want to him to choose one category in the drop down, is it possible for this drop down to automatically get list of categories as options? So that any time I update / delete or add a new categorie it will appear in this list automatically ?
Thank you again!
Your help is much appreciated.October 11, 2013 at 8:37 pm #4384ringitinc
Memberwhen I assign a custom class on a field in backend, CSS class is asigned to input container, how can I assign class to input itself?
thank you
October 11, 2013 at 9:25 pm #4385ringitinc
Memberand how do I add placeholders inside the field inputs?
October 11, 2013 at 10:58 pm #4386Support
MemberHello,
For using category as dropdown options, put following code in your functions.phpadd_filter( 'user_meta_field_config', 'user_meta_field_config_function', 10, 3 ); function user_meta_field_config_function( $field, $fieldID, $formName ){ global $userMeta; if( $fieldID != 'Target_Field_ID' ) return $field; $output = null; $cats = get_categories(); foreach( $cats as $cat ): $output .= $cat->term_id.'='.$cat->name.','; endforeach; $output = ',' . trim( $output, ',' ); $field['options'] = $output; return $field; }Don’t forget to change Target_Field_ID .
October 11, 2013 at 11:03 pm #4387Support
MemberFor assigning css class to input itself, please have a look
Example SectionAnd for placeholder, you can add placeholder (e.g %first_name%) to “Default Value”, please note, this placeholder value will only consider until user didn’t input anything.
Thanks.
October 17, 2013 at 8:32 pm #4407ringitinc
MemberThanks…
One of the best supports on WordPress Plugins!
Thats exactly what makes plugins worth of buying! Just wanted to say thanks hehe : ))
 - 
		AuthorPosts
 
- You must be logged in to reply to this topic.
 
