Form error and save messages

wuhaa

New Member
trying to add error and saved messages to this form:\[code\]<div id="box_expand"><form id=group_add method="post"><fieldset id="set_full_1"><label>Name*</label><input id=Regionname_add type=text size="42" placeholder="Latan" required autofocus><span class="form_hint">Proper format "Region Name"</span></fieldset><fieldset id="set_full_2"><label>Address*</label><input id=Address_add size="42" placeholder="Oxford Str." required><span class="form_hint">Proper format "Street Name"</span><label>City*</label><input id=City_add size="42" placeholder="Miami" required><span class="form_hint">Proper format "Miami"</span></fieldset><fieldset id="set_full_3"><label>ZIP Code*</label><input id=Zip_add size="42" placeholder="000-000" required><span class="form_hint">Proper format "00000-000"</span><label>Country*</label><input id=Country_add size="42" placeholder="USA" required><span class="form_hint">Proper format "Brazil"</span></fieldset><fieldset id="set_full_4"><label>State*</label><input id=State_add size="42" placeholder="Florida" required><span class="form_hint">Proper format "Florida"</span></fieldset> <div id="placeholder"> <div id="template"><fieldset id="set_full_5"><label>Contact*</label><input id=Contact_add size="42" placeholder="John Addams" required><span class="form_hint">Proper format "Name and Surname"</span><label>Phone*</label><input id=Phone_add size="42" placeholder="00000-0000" required><span class="form_hint">Proper format "00000-0000"</span></fieldset> </div></div><fieldset id="set_add_1"><button type="button" name="Submit" id="add3_Button" onClick="Add();" >add</button></fieldset> <fieldset id="button"> <button type=submit id="save1_Button">save</button></fieldset><fieldset id="button_2"> <button type=submit id="del1_Button">delete</button></fieldset><fieldset id="button_3"> <button type=submit id="print1_Button">print</button></fieldset><fieldset id="button_4"> <button type=submit id="view1_Button">view</button></fieldset></form> </div></section>\[/code\]I tryed to add this messages with javascript, but it didn't work!I don't have a lot of experience with forms, so If someone manage to help me, it would be great!Thanks in advance!
 
Back
Top