192 Posts
diogowernik
8 years ago
Topic

I would like how can i set a placeholder and custom class for user_name field and other fields

Actually i would like to be able to customize more the fields.

I am using the html template, and using the code:

<?php echo $cck->get('user_name')->form;?>

The output that i get is:

<input id="user_name" class="inputbox text input-xxlarge input-large-text" type="text" maxlength="255" size="32" value="" name="user_name">

And i would like to get something like that:

<input id="user_name" class="myclass" type="text" placeholder="Name..." maxlength="255" name="user_name" >

Need some help?

2 replies have been added to this thread, and the topic is marked as solved.
You should subscribe to a club in order to read all posts.