Try to search your question here, if you can't find : Ask Any Question Now ?

HTML <input> required Attribute not working

HomeCategory: stackoverflowHTML <input> required Attribute not working
Avatarwillson asked 3 months ago

My required attribute which i placed inside a row of a table doesn’t seem to be working at all.

I tried closing and un-closing the input tags and changing the button type to input type = “submit” but still the problem persist.

  <form action="">
    <td><input type="text" id="itn" required/></td>
    <td> <input type="text" id="prc" required/></td>
    <td> <input type="text" id="dt" required/></td>
    <td><input type="text" id="qn" required/></td>
    <td><input type="text" id="am" required/></td>
    <button type="button" onclick="add()" class="button button3">

When I execute the code on my google chrome browser, the browser doesn’t show any alert or warnings if i miss out any fields.

1 Answers
Best Answer
AvatarAmit answered 3 months ago
Your Answer

5 + 0 =

Popular Tags

WP Facebook Auto Publish Powered By :