Jump to content

HTML Form required parameter


Marco_Co

Recommended Posts

Hi Guys,

I have created a form on an CMS page. This form posts the Input to our API where all the input data is processed. All this works good but I have a simple problem. In my form are required fields. I tried it this way

 

<form action="#" method="post">
  <input type="text" name="firstname" required>
  <input type="submit" value="Submit">
</form>

 

But after saving the required  is removed. So after this I tried this steps

https://mypresta.eu/prestashop-17/extend-text-editor-in-new-presta.html

but that did not help.

 

What can I do to make this fields required?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...