×
Kunena 5.2 RC 1 Released (25 Oct 2020)

The Kunena team is thrilled to announce the first public release candidate of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 RC1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question HTML / PHP Limit's

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Only the strongest will survive
More
10 years 2 weeks ago - 10 years 2 weeks ago #1 by C0n
HTML / PHP Limit's was created by C0n
It's been a long time and I've learnt allot from studying the kunena code, I have a question about minimum and maximum character lengths, I notice kunena uses html to check the ammount of characters entered into a field.

Example : (maxlength="10")

But I'm curious if its possible to set a minimum length onit with php or html ? does anyone have any advice ?

Minimum length in html from my research is.

Example : (minlength="10")
Last edit: 10 years 2 weeks ago by C0n.
The following user(s) said Thank You: sozzled

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #2 by sozzled
Replied by sozzled on topic Re: HTML / PHP Limit's
Yes, maximum and minimum lengths are normally established via HTML or CSS. :)

Please Log in or Create an account to join the conversation.

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Only the strongest will survive
More
10 years 2 weeks ago #3 by C0n
Replied by C0n on topic Re: HTML / PHP Limit's
so if i apply (minlength="10") to a input field so when someone submit's information into that field on the forum, If it is less than 10 characters long will it just be blank or how can i make it show a error like. (The text you entered is to short.)

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago - 10 years 2 weeks ago #4 by xillibit
Replied by xillibit on topic Re: HTML / PHP Limit's
Hello,

If you want check that the user has entered the min characters you need to use php or maybe javascript, like that you cna display a message...

I don't provide support by PM, because this can be useful for someone else.
Last edit: 10 years 2 weeks ago by xillibit.

Please Log in or Create an account to join the conversation.

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Only the strongest will survive
More
10 years 2 weeks ago #5 by C0n
Replied by C0n on topic Re: HTML / PHP Limit's
Does anyone have a example code or snippet i think ive found the text area location "com_kunena/template/defualt/messedge.php"

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.129 seconds