paulgrenwood


Member since 09/23/2009

5 snippets

2513 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

paulgrenwood's Recent SnippetsTagged forms



« Prev 1 Next »
Variables that are submitted via web forms always need to be cleaned/sanitized before use in any way, to prevent against all kinds of different malicious intent.
0 404 posted 13 years ago by paulgrenwood
1 452 posted 13 years ago by paulgrenwood
E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.
2 551 posted 13 years ago by paulgrenwood
IE adds a vertical scrollbar to textarea input fields regardless of the height of content in it. You can fix that with this simple CSS trick.
2 514 posted 13 years ago by paulgrenwood
This CSS trick lets you highlight the input field currently in focus. This trick does not work in IE though.
0 363 posted 13 years ago by paulgrenwood
« Prev 1 Next »