Sedang Disiapkan

html form +server,client side validation

Hello.i want someone to make me an html form with 6 input text fields (30 lines of these 6 fields).I want an otpion so my user can push a button and add e.g 30 more lines of these 6 [url removed, login to view] the user submits the form i want a validation check with javascript nad php to chaeck for fields like if he puts someting to filed 1 must put and to filed [url removed, login to view] the form have errors i whant mesage/s to display to user but no field data the user had filed in to be lost (like to store values to sessions or something)html form fileds example

<form name="paragelia_form" method="post" action="par/[url removed, login to view]" >

<tr>

<td><input name="data[0][kod]" type="text" style="width: 150px;" value="<?php

$kod="$_SESSION[kod]";

print"$kod"; ?>"></td>

<td><input name="data[0][tem]" type="text" style="width: 30px;" value="<?php

$tem="$_SESSION[tem]";

print"$tem"; ?>"></td>

<td><input name="data[0][kitrina]" type="text" style="width: 30px;" value=""></td>

<td><input name="data[0][leuka]" type="text" style="width: 30px;" value=""></td>

<td><input name="data[0][dixroma]" type="text" style="width: 30px;" value=""></td>

<td><textarea name="data[0][sxolia]" cols="10" rows="1"></textarea></td>

</tr>

<span id="add">add 30 lines</span>

<input type="submit" name="submit" id="par_save" value="save"></form>

</form>

and [url removed, login to view] something like

<?php

session_start();

$filename = "[url removed, login to view]";

date_default_timezone_set('Europe/Athens');

$imerominia=date('d/m/Y---H:i:s');

$time=time();

$sin=$_POST['sin'];

header('Content-type: "text/xml"; charset="utf8"');

header('Content-disposition: attachment; filename="'.$filename.'"');

echo '<?xml version="1.0" encoding="utf-8" ?>',PHP_EOL;

echo '<orders>',PHP_EOL;

echo '<order client="',$sin,'" orderdate="',$imerominia,'" timeint="',$time,'">',PHP_EOL;

$data = $_POST['data'];

foreach($data as $row):

$kod= $row['kod'];

$_SESSION['kod'] = $kod;

$tem =$row['tem'];

$_SESSION['tem'] = $tem;

$kitrina =$row['kitrina'];

$_SESSION['kitrina'] = $kitrina;

$leuka =$row['leuka'];

$_SESSION['leuka'] = $leuka;

$dixroma =$row['dixroma'];

$_SESSION['dixroma'] = $dixroma;

$sxolia= $row['sxolia'];

$_SESSION['sxolia'] = $sxolia;

if($kod==''&&$tem!=''){

$error[] = '** some error text';

if ($error) {

$a=''.implode( '<br>',$error);

$_SESSION['error'] = $a;

header("location:../[url removed, login to view]");

}

}

if($kod!=''&&$tem==''){

$error[] = '** some error text';

if ($error) {

$a=''.implode( '<br>',$error);

$_SESSION['error'] = $a;

header("location:../[url removed, login to view]");

}

}

else{

echo '<item product="',$kod,'" tem="',$tem,'" kitrina="',$kitrina,'" leuka="',$leuka,'" dixroma="',$dixroma,'" plir="',$sxolia,'"></item>',PHP_EOL;

}

endforeach;

echo '</order>',PHP_EOL;

echo '</orders>',PHP_EOL;

?>

i want to store the values to xml file.

So to resume if a user make mistakes to fields display errors but if the page reloads dont lose any data the user have enetred so far or any new lines added by jquery(with their field data agian not lost if any)

Kemahiran: HTML5, jQuery / Prototaip, PHP

Lihat lebih lanjut: server resume, r.n. resume, resume style, resume mistakes, name validation in javascript, make me a resume, example resume, javascript print time, tem, sin, nad, javascript validation, html style, data validation, form server client, php html form, php check input type, data html data, html javascript example, form submit xml, resume html javascript, jquery print button, textarea jquery php, client server encoding, jquery date location

Tentang Majikan:
( 7 ulasan ) THESSALONIKI, Greece

ID Projek: #1553553

Dianugerahkan kepada:

thangtqvn

Hello, very simple with me. Please Check the PMB

$30 USD dalam sehari
(187 Ulasan)
6.7

10 pekerja bebas membida secara purata $40 untuk pekerjaan ini

waelfree

Hi, I can do that

$30 USD dalam sehari
(97 Ulasan)
6.9
gujjucoders

HI, * The specification is very much clear. * Ready to start right now. * Be sure of quality work on time. * Have a look at PMB for more details. Thanks Gujjucoders

$30 USD dalam sehari
(110 Ulasan)
6.9
softlinkage

Hi, I'm ready to start it now and complete it within short time...

$30 USD dalam 0 hari
(70 Ulasan)
6.1
starmation

I'm an expert in Jquery and PHP ...will give you clean code for server side, and client side validation . Can start today :)

$40 USD dalam sehari
(4 Ulasan)
4.6
corluk

=== with 10 years of experience === . Please check PMB.

$55 USD dalam 2 hari
(26 Ulasan)
4.6
vntopcoders

Hello, I am very interested this project! Let's me do it for you! thank you!

$30 USD dalam 0 hari
(18 Ulasan)
3.2
ashkumar1981

Hi, we have expertise in PHP, MySQL, .Net, OsCommerce, Wordpress, Joomla, Magento, ZenCart, HTML5 / CSS3 etc. You can see more details with PMB, Thanks

$30 USD dalam sehari
(1 Ulasan)
2.3
innowebtech

Hello! We really like such type of work! Our questions you'll find in PMB.

$30 USD dalam 3 hari
(2 Ulasan)
2.2
twentyfourhds

Hello! Experts available 24x7. I have read all the your requirements and we are very confident to do this project from start till end. It would be my pleasure, to have the chance to work with you. Your satisfaction is Lagi

$99 USD dalam 2 hari
(0 Ulasan)
0.0