Jump to content

HIde label of a button in a template


chrizz
 Share

Recommended Posts

Hey there,

I just updated PW from 2.3 to 2.4

Everything works fine but: On my contact page which mainly followed this article by soma (http://processwire.com/talk/topic/2089-create-simple-forms-using-api/), the submit button show a lable which is not necessary. If tried a lot to remove it but until now I have no better solution than hide the label with CSS. 

Is there a method to hide labels automatically?

thanks

Link to comment
Share on other sites

There was some change to labels and it is hidden via css so you also need to add a hidden class I think InputfieldLabelHidden. One of some changes in core affecting your site after update which is not documented...

  • Like 1
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...