Search found 5 matches

Go to advanced search

by Anna Gitarts
Mon Aug 12, 2013 4:26 pm
Forum: Issues
Topic: Validating form fields - setting textarea CSS with javascript
Replies: 13
Views: 3236
 
Jump to post

Validating form fields - setting textarea CSS with javascript

Hi Katya,

Wow, thank you so much! That seems way too easy, ha ha.

Thanks again,
Anna

by Anna Gitarts
Fri Aug 09, 2013 9:35 pm
Forum: Issues
Topic: Validating form fields - setting textarea CSS with javascript
Replies: 13
Views: 3236
 
Jump to post

Validating form fields - setting textarea CSS with javascript

Hi Oleg, This is what I'm using: codefunction validateForm() { // Style for form elements that are valid. var okStyle = { "border": "1px solid #328cc7" }; // Style for form elements that are invalid. var badStyle = { "box-shado...
by Anna Gitarts
Fri Aug 09, 2013 8:15 pm
Forum: Issues
Topic: Validating form fields - setting textarea CSS with javascript
Replies: 13
Views: 3236
 
Jump to post

Validating form fields - setting textarea CSS with javascript

I'm have some trouble getting my validation javascript to work with a textarea. It works fine with the text inputs, just not the textarea for some reason. It looks like this: https://d2r1vs3d9006ap.cloudfront.net/s3_images/938866/textarea_inline.JPG?1376079072 The problem seems to be that the js is ...

Go to advanced search