Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

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
13 years 6 months ago - 13 years 6 months 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: 13 years 6 months ago by C0n.
The following user(s) said Thank You: sozzled

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

More
13 years 6 months 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
13 years 6 months 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
13 years 6 months ago - 13 years 6 months 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: 13 years 6 months 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
13 years 6 months 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.

Time to create page: 0.350 seconds