Note that there are some explanatory texts on larger screens.

plurals
  1. POiphone web form validation
    primarykey
    data
    text
    <p>I have this form for a dedicated iphone landing page. but cant find anything that will deal with the validation. i only need to validate the number but the name could also be usefull. i cant seem to find anything that will alert the user the field has not been entered.</p> <p>this is iphone only and is a web form not a app</p> <pre><code>&lt;form method="post" action="submitquote.php" name="quoteform"&gt; &lt;label&gt;Your Full Name&lt;/label&gt; &lt;input style="outline:none;" id="name" type="text" name="name" size="20" value="" class="elements"/&gt; &lt;label&gt;Your Email Address&lt;/label&gt; &lt;input style="outline:none;" id="email" type="email" name="email" size="20" value="" class="elements"/&gt; &lt;label&gt;Your Telephone Number&lt;/label&gt; &lt;input style="outline:none;" id="telephone" type="text" pattern="[0-9]*" name="telephone" size="20" value="" class="elements"&gt; &lt;label&gt;Company Postcode&lt;/label&gt; &lt;input style="outline:none;" id="postcode" type="text" name="postcode" size="20" value="" class="input" /&gt; &lt;div class="saveon"&gt;Save on..&lt;/div&gt; &lt;div class="checkboxs"&gt;Gas&lt;input type="hidden" name="gasresult" value="no" /&gt;&lt;input name="gasresult" type="checkbox" value="yes" checked="checked" /&gt; Electricity&lt;input type="hidden" name="electricresult" value="no" /&gt;&lt;input name="electricresult" type="checkbox" value="yes" checked="checked" /&gt;&lt;/div&gt; &lt;input type="hidden" value="&lt;?php echo $myid ?&gt;" name="track" /&gt; &lt;input type="hidden" value="&lt;?php echo $_GET['utm_source']; ?&gt;" name="utm_source" /&gt; &lt;input type="hidden" value="&lt;?php echo $_GET['utm_medium']; ?&gt;" name="utm_medium" /&gt; &lt;input type="hidden" value="&lt;?php echo $_GET['utm_term']; ?&gt;" name="utm_term" /&gt; &lt;input type="hidden" value="&lt;?php echo $_GET['utm_content']; ?&gt;" name="utm_content" /&gt; &lt;input type="hidden" value="&lt;?php echo $_GET['utm_campaign']; ?&gt;" name="utm_campaign" /&gt; &lt;input type="submit" value="" class="submit" onclick="pageTracker._trackPageview('/HomePage/ClassicQuoteRequest/Submit')" /&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload