Materialize: Input Submit Field with Materialize doesn't work properly

Created on 9 Jun 2015  Â·  7Comments  Â·  Source: Dogfalo/materialize

screenshot from 2015-06-08 23 46 51

And couldn't find an input submit field in this form fields list: http://materializecss.com/forms.html

Most helpful comment

if you put in your form <form><button type="button">Submit</button></form> the default action of the button is submit the form. You just need to add the materialize classes in the button tag

All 7 comments

Use a button tag, see the buttons documentation
On Jun 8, 2015 4:50 PM, "Nkansah Rexford" [email protected] wrote:

[image: screenshot from 2015-06-08 23 46 51]
https://cloud.githubusercontent.com/assets/5289083/8047773/f8bf3cc4-0e38-11e5-95c9-a845649b6db2.png

And couldn't find an input submit field in this form fields list:
http://materializecss.com/forms.html

—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/1493.

yea the class should've been 'btn waves-effect'

@Dogfalo Thanks. Got it working. perhaps input type=submit could be made to do same out of the box?

I have php file doing the form validation. I am wondering How do you specificy the php file that does the action when using the name="action"

I think the Issue should be reopened because it is not fixed.
has the same problem after reloading a page, or let me say I have the same problem.

Its like the input tag is wrapped in a tag and thats the problem

if you put in your form <form><button type="button">Submit</button></form> the default action of the button is submit the form. You just need to add the materialize classes in the button tag

I am using asp.net c# when I use Materialize Wizard class for open a tab panel then working properly fine but when any postback from asp page then tab panel is hide but control are working as hidden control when I click on page

Was this page helpful?
0 / 5 - 0 ratings