Webmastersite.net
Register Log In

Required Fields - CSS
variable email refuses to take on css required colors

Comments on Required Fields - CSS

sparkalina
Forum Regular

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 70
Total Comments: 211
Posted Jun 05, 2011 - 7:45 PM:

Hey there,

On the general settings I've required field 'email' in the suggestlink form and the field isn't changing color as per my css. All other required fields have done so, but no matter what I try, the variable 'email' doesn't.

I just wondered if that field was different compared to others?

If you need to look at it, My Account > Add Property - logged in as admin

Current code:



<input type="text" name="email" size="{STANDARDSIZE}" value="{LINKEMAIL}" /> *required



CSS (class.css)



input.required,
textarea.required {
padding: 6px;
font: 400 12px arial, sans-serif;
background: #94908F;
border:1px solid #5D5956;
}
input.required:focus,
textarea.required:focus{
color: #333;
background:#CCC;
border:1px solid #94908F;
}
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jun 09, 2011 - 8:59 PM:

Probably because the email field is automatically de-required when the member submitting the listing has an email address in their account already. I can't see any scenario where it'd be useful to require it when you already have their email?
sparkalina
Forum Regular

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 70
Total Comments: 211
Posted Jun 09, 2011 - 9:03 PM:

Sometimes the contact email {LINKEMAIL} is different from the {MEMBEREMAIL} owner which is why we require it again.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jun 15, 2011 - 12:12 AM:

I've made an 'unnecessaryemailrequirement' tweak for that in 6.1.3 beta 2.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.