The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Share:
Notifications
Clear all

wpDiscuz 7.0.0 Form

10 Posts
2 Users
0 Reactions
3,532 Views
Posts: 11
Topic starter
(@hatschiii)
Active Member
Joined: 5 years ago

A feature I have had in the previous version. This is gone with the update.

I have a basic form with following fields.

  1. Comment
  2. Name
  3. E-Mail
  4. Website
  5. Checkbox
  6. Submit box

 

I want fields 2-5 to be hidden until I click into the comment filed. Have searched through all settings, but can't find the switch to enable it. Hope this can be done in 7.0.0!?

Another small question: I tried to place the a custom CSS in the settings to change the min-height of the comment field to 100px but can't get it working. Can you help me with the right code?

9 Replies
Tom
Posts: 506
 Tom
Support
(@tomson)
Honorable Member
Joined: 9 years ago

Hi @hatschiii,

wpDiscuz has never had option to hide any field in comment form. There was no such an option in old wpDiscuz and there is no such an option in current wpDiscuz 7.  I'm sure, you have some custom code (CSS or JS) which was doing that. So your custom code doesn't work for wpDiscuz 7, this is the problem. There is no problem in the plugin.

 

Posted by: @hatschiii

Another small question: I tried to place the a custom CSS in the settings to change the min-height of the comment field to 100px but can't get it working. Can you help me with the right code?

Please let me know, what do you mean saying "comment field"? Is this the main comment content field?

Reply
Posts: 11
Topic starter
(@hatschiii)
Active Member
Joined: 5 years ago

Hi Tom,

haven't had a custom code before... Just wondering, maybe my theme was doing this by default.

However, isn't this a feature for a future update? 😉

Yes, I mean the main comment content field.

Reply
2 Replies
Tom
 Tom
Support
(@tomson)
Joined: 9 years ago

Honorable Member
Posts: 506

@hatschiii,

We'll take this under consideration for sure. It'll be available in the future releases.

Reply
(@hatschiii)
Joined: 5 years ago

Active Member
Posts: 11
Posted by: @tomson

@hatschiii,

We'll take this under consideration for sure. It'll be available in the future releases.

Hope in the near future 😉

 

Reply
Posts: 11
Topic starter
(@hatschiii)
Active Member
Joined: 5 years ago

Great! This would be amazing because it saves space. In most cases (views) the user don't place a comment, so he just need to see that there is a possibility to place a comment, not all the other field which could be much more than my ones.

 

Any hint how to set 'min-height: 100px;' to the default comment field? I tried so many css classes... but can't find the right three in teh forrest 😉

Reply
3 Replies
Tom
 Tom
Support
(@tomson)
Joined: 9 years ago

Honorable Member
Posts: 506

@hatschiii,

Try this CSS code:

#wpdcom .ql-editor {
     min-height: 100px;
}
Reply
(@hatschiii)
Joined: 5 years ago

Active Member
Posts: 11

@tomson thanks... but it is not working, the hight is still the same.

Reply
(@hatschiii)
Joined: 5 years ago

Active Member
Posts: 11

Looks like it's not easy 😉

Reply
Posts: 11
Topic starter
(@hatschiii)
Active Member
Joined: 5 years ago

Is this code working for you @tomson ?

Reply
Share: