Form module styling questions

cosmicfantasia 07 Mar, 2011
Hi,

Just trying to style the form in the module @ http://massmosaic.com/joomla/

Not sure if I'm just tired, but can't see where the styling comes for for the 'This field is required text' Need to make it smaller and appeat above the form if possible. Is it? Also, where does this text come from in case I need to change it?

Also, could you please confirm that its in /components/com_chronocontact/themes/default where you change the html for the form in the module?

Thanks...🙂
GreyHead 07 Mar, 2011
Hi cosmicfantasia,

There's a document here on formatting the error messages that should give you that part.

You can over-ride the error message text by adding a title='some other message' attribute to the input in the Form HTML.

The default form CSS is in the folder you identified (note that there is a duplicate of this folder in the administrator folders that is not used in the front-end). You can also use the Transform Form icon to switch to a different form layout that may be better suited to a form in a module - but this will only work if the form was created in the Form Wizard and the Form HTML has not been edited afterwards.

Bob
cosmicfantasia 07 Mar, 2011
Thanks. Very helpful.

Only thing now is changing the text. I did:

<input class="cf_inputbox required validate-email" maxlength="150" size="30" title="" id="text_1" name="email" type="text" title="* Please enter a vaild email address" />


To shorten the text. But it didn't do anything. Is this correct?
cosmicfantasia 07 Mar, 2011
Scrap that. Didn't see there was already title="" there. Should go to bed.

Thanks, has done everything I wanted for a pretty custom form that actually creates joomla users...🙂
This topic is locked and no more replies can be posted.