Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2010
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    1 Validation Error - help

    I am left with one validation error pertaining to "method=post". Validation is asking for an "action" attribute; but I don't need it for the form to work. It's working fine. This validation error is misleading. The "action" attribute is optional; but the validation shows it as an error.


    Validation error appears on this page: http://www.rentmycar.com/?page=post_ad.


    Is there anyway to obtain validation without an "action" attribute?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    You could use a blank value inside action attribute, like
    Code:
    <form method="POST" action="">
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •