Mmmmm.... That sounds like it might fly. I really don't see any other way of
doing it at this point. 
 
Thanks Jason...
 

  _____  

From: Jason Pamental [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 22, 2007 8:27 AM
To: [email protected]
Subject: Re: Witango-Talk: Off Topic - Tab to Text in Form Field


John, 

How about separating it into two fields for input - <input username> @
<input company.com> - then you could designate the pre-filled value for
xyzcompany.com in the second field, leaving the first one blank. That
removes the need to figure out the tab/cursor/highlighted question and makes
it easy to leave/change the back half of the email address. Then just
reassemble it and validate it on submit.

Hope that helps - it's simpler, and I like simple...

Jason


-----

Jason Pamental
Director of Web Services
North Sails

Office: 401.643.1415
Fax: 401.643.1420
Mobile: 401.743.4406
Email: [EMAIL PROTECTED]




On Jun 22, 2007, at 7:41 AM, WebDude wrote:


Hi All,

Sorry for the off-topic post, folks, but I have one that I have been
scratching my brain over for the past couple of days. Might not be possible
to do...

I have a form for a company that they will be using internally. I need to
have two things happen. First is to focus the cursor to the first field
(name) when the page loads. That's the easy part. One of the fields has the
value set to @xyzcompany.com (email) so all they have to do is fill in their
user name. The company also wants the user to be able to change this field
to other email domains as well so hard cosing it is not an option. When
tabbing from one field to the next, when you tab to the email field, it
highlights the text in that field (as it should, I assume). Is there a way
to place the cursor before the text on tabbing instead of highlighting the
text for editing?

I hope I am clear in my question.

Thanks!

________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to