eshoris
asked on
HTML Codes to Add
I have this website http://eshoris.tripod.com/web420.html ...
I need to add the following:
1) selection list for the state.
2) selection list for the credit card expiration month.
3) Validate the credit card expiration year.
4) Verify in a comparison with the current date that the credit card expiration date is valid.
5) Add a mortgage calculator to the page as a value added aspect for the customer
Can anyone please provide me with html syntax or javascript please
Every one of those should have one line with no blanks in between.
p.s. similar syntax for month
p.s. similar syntax for month
When you say validate the year and date, that means ensure they are later than the current date. To actually check with a credit card processing firm, you need server access.
I can't do the mortgage calculator, but free ones are probably available. I'll look
Mortgage scripts
http://dave.imarc.net/php/mortgage/index.php
http://www.hypergurl.com/calculator.html
Michael
http://dave.imarc.net/php/mortgage/index.php
http://www.hypergurl.com/calculator.html
Michael
Just throwing my 2 cents in.
ALL tags should be closed, even those that strictly speaking don't need to be.
ALL parameters inside tags should be quoted even though strictly speaking it's not necessary (strictly being that most browsers will accept them anyway and not strictly according to the standards).
<option value="WY">Wyoming</option >
This is just a starter on standards compliance. Some of the newer browsers, which are getting very popular and taking IE users, do need things to be done correctly.
While we're in forms also remember all parameters need a name AND a quoted value. Standards compliant browsers will not work as you expect if you don't do this. Most note-worthy is checked and selected. Many editors don't do this right and you will have to hand code them.
<input type="checkbox" checked="checked" value="yes">
<option value="blah blah blah" selected="selected">whatev er</option >
ALL tags should be closed, even those that strictly speaking don't need to be.
ALL parameters inside tags should be quoted even though strictly speaking it's not necessary (strictly being that most browsers will accept them anyway and not strictly according to the standards).
<option value="WY">Wyoming</option
This is just a starter on standards compliance. Some of the newer browsers, which are getting very popular and taking IE users, do need things to be done correctly.
While we're in forms also remember all parameters need a name AND a quoted value. Standards compliant browsers will not work as you expect if you don't do this. Most note-worthy is checked and selected. Many editors don't do this right and you will have to hand code them.
<input type="checkbox" checked="checked" value="yes">
<option value="blah blah blah" selected="selected">whatev
ASKER
That's awesome with the code you have.. ..I'm going to increase these points for sure now.. and try to split some.. but also.. do you have any codes for:
1) credit card expiration month.
3) Validate the credit card expiration year.
4) Verify in a comparison with the current date that the credit card expiration date is valid.
i got the mortage and the state..that's awesome.. Help please..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I hope you got the increased points.. if not let me know.. so we can work this out.. that was awesome. thanks.
i got 250 points friend..
<select id="state" name="state">
<option value=AL selected>Alabama
<option value=AK>Alaska
<option value=AZ>Arizona
<option value=AR>Arkansas
<option value=CA>California
<option value=CO>Colorado
<option value=CT>Connecticut
<option value=DE>Delaware
<option value=DC>District of Columbia
<option value=FL>Florida
<option value=GA>Georgia
<option value=HI>Hawaii
<option value=ID>Idaho
<option value=IL>Illinois
<option value=IN>Indiana
<option value=IA>Iowa
<option value=KS>Kansas
<option value=KY>Kentucky
<option value=LA>Louisiana
<option value=ME>Maine
<option value=MD>Maryland
<option value=MA>Massachusetts
<option value=MI>Michigan
<option value=MN>Minnesota
<option value=MS>Mississippi
<option value=MO>Missouri
<option value=MT>Montana
<option value=NE>Nebraska
<option value=NV>Nevada
<option value=NH>New Hampshire
<option value=NJ>New Jersey
<option value=NM>New Mexico
<option value=NY>New York
<option value=NC>North Carolina
<option value=ND>North Dakota
<option value=OH>Ohio
<option value=OK>Oklahoma
<option value=OR>Oregon
<option value=PA>Pennsylvania
<option value=RI>Rhode Island
<option value=SC>South Carolina
<option value=SD>South Dakota
<option value=TN>Tennessee
<option value=TX>Texas
<option value=UT>Utah
<option value=VT>Vermont
<option value=VA>Virginia
<option value=WA>Washington
<option value=WV>West Virginia
<option value=WI>Wisconsin
<option value=WY>Wyoming
</SELECT>