This is a discussion on "autofill textboxes" within the Web Page Design section. This forum, and the thread "autofill textboxes are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
autofill textboxes
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
autofill textboxes
Hi
I was playing with this code and i discovered something pretty weird. Since emails don't have spaces, I used the replace function to replace " " with "". BUT.... ie. First: Anna Smith Last: Boa Wow Email: AnnaSmith.Boa Wow <- doesn't replace the " " with "" now isn't that weird... anyone know why? or how I can fix this?
|
|
|
|
#2
|
|||
|
|||
|
Re: autofill textboxes
If there email contains spaces ask them to fill it out again, no use trying to make your own by deleting spaces.
Also using javascript for validation is a bad idea because people can just disable javascript in their browser. |
|
#3
|
|||
|
|||
|
Re: autofill textboxes
Quote:
|
|
#4
|
|||
|
|||
|
Re: autofill textboxes
Not if your going to be getting bogus code.
You have to make it so they enter the right details no use having the field otherwise. |
![]() |
| Tags |
| autofill, textboxes |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Binding Textboxes | RubyRue | ASP.NET Forum | 2 | Feb 21st, 2008 17:51 |
| Autofill in Flash forms? | Shady | Flash & Multimedia Forum | 1 | Feb 8th, 2008 16:01 |
| Using listeners with dynamic textBoxes | DrGonzo | Flash & Multimedia Forum | 0 | Aug 8th, 2007 10:24 |
| writing a function to verify data inputted in textboxes | jayaime | JavaScript Forum | 2 | Jul 4th, 2006 03:29 |
| Lists, Buttons and Textboxes | callamac | Web Page Design | 4 | Apr 6th, 2006 13:39 |