Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-17 08:41:58

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Comments SUBMIT button not hiding

Another problem with my redesign of The Turning Gate … My comments form has both the Preview and Submit buttons showing at all times. Normally, the Submit button should be invisible before the comment preview screen, right? Since upgrading to 4.0.5, it’s no longer hidden. Clicking it before previewing does nothing; it’s just there. Does anyone know how to fix this?

Offline

#2 2007-08-17 09:12:48

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Comments SUBMIT button not hiding

Starting with 4.0.5, both the “submit” and the “preview” button are shown, with the “submit” button in a disabled state. Apparently, your sites’s style provides no visual clues for a disabled button.

Try adding a rule to your style sheet which applies a proper style for the .disabled class of input elements, e.g. #txpCommentSubmit.disabled {color: red;}

Offline

#3 2007-08-17 09:29:03

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: Comments SUBMIT button not hiding

Got it! I’ve decided to go with #txpCommentSubmit.disabled {display: none;}

Thanks!

Last edited by theturninggate (2007-08-17 09:31:17)

Offline

Board footer

Powered by FluxBB