I have a script wriiten for use with HTML5 and Cache Manifest.
When I try and validate the script I get one error in a FORM section.
The validator show the following errror
<form id="form2" name="form2" method="post" action="flight_multi.php?MobileNumber=<?php print $_SESSION['mobilecookie'];?>">
<input name="button" type="image" id="button" src="images/tracking_button.png" alt="Current flights" />
1.Error: Bad value flight_multi.php?MobileNumber=
Notice: Undefined index: mobilecookie in /home/vhosts/mydomain/httpdocs/index_home.php on line 57
for attribute action on element form: Control character in query component.
From line 42, column 17; to line 44, column 2
<form id="form2" name="form2" method="post" action="flight_multi.php?MobileNumber=↩Notice: Undefined index: mobilecookie in /home/vhosts/mydomain/httpdocs/index_home.php on line 57
Can anyone help me ger around/fix this issue.
Many thanks in advance.
Keep safe and well.
There's a problem with the PHP script that generates the page. The $_SESSION array has no entry with the key 'mobilenumber', and so a warning message is being inserted into the 'action' attribute of your <form> tag. There's no way to diagnose this further without seeing the source code for this page, and possibly other files as well.
The HTML5 validation is describe several attributes which we can use with input elements to perfume client-side validation including the required, max, min, step and maxlength attributes.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)