how to rename the field in a form

edited May 2012 in Modules
How to rename the field in a form,
in my table i have value like nusername,ncountry,nstate and in the form also it is displaying the samething how to rename it in a form
thanks

Comments

  • edited 3:16AM
    You can set a "label" parameter in your field:
    .... $fields['my_field']['label'] = 'User name'; ...
  • edited 3:16AM
    Thanks
Sign In or Register to comment.