close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

how to change font color for WAAlertErrors text

Thread began 4/23/2013 12:21 pm by JBWebWorks | Last modified 4/24/2013 6:38 am by Jason Byrnes | 692 views | 1 replies |

JBWebWorks

how to change font color for WAAlertErrors text

Have a form validated upon submit and I want part of the error message in red.

php:
<form  action="" method="post" id="form1" onsubmit="WAValidateRQ(document.forms[0].name1,'- Your Name, please.',document.forms[0].name1,0,false,'text');WAValidateEM(document.forms[0].email1,document.forms[0].email1.value,'- Your valid email address, please.',document.forms[0].email1,0,true);WAValidateRQ(document.forms[0].message1,'- Please enter your message.',document.forms[0].message1,0,false,'textarea');WAValidateRQ(document.forms[0].Security_question,'- Please answer security question.',document.forms[0].Security_question,0,false,'text');WAAlertErrors('Some information is missing or incorrect....\n','\nPlease correct your information to continue.',true,false,false);return document.MM_returnValue">



the part I want in red is
'Some information is missing or incorrect....\n','\nPlease correct your information to continue.'

Sign in to reply to this post

Jason ByrnesWebAssist

The Client validations use a standard javascript alert box to show errors

The javascript alert box does not allow for styling of the text.

If you want control over the client side error message styling, use the Spry Validation included with dreamweaver:
http://help.adobe.com/en_US/dreamweaver/cs/using/WSC0A9CA2A-E807-441a-ACC2-7B5E7A503C74a.html


as part of Design Extender, we offer the validation Tool Tips For Spry extension wich allows you to convert the spry errors to tooltips.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...