Page 1 of 1

[MOD] Max Characters - Config field (text/textarea)

Posted: Sat Jun 20, 2009 5:21 pm
by Martin
Title: Max Characters MOD.
Author: Martin Smallridge (WebSnail)
License: Commercial (No redistribution)
Cost: £50
Version: 6.0.1
Compatible: 6.0.11-6.1.1
ScreenCast: http://www.snailsolutions.co.uk/_casts/Max_Chars/

Purchasing: Store link (Moved & Updated)

Summary:
This modification provides you with a way to restrict the number of characters a customer can input in a text or text field configurable field.

It does this in two ways...
Front-end
Uses HTML.maxlength (text) or Javascript (textarea) to limit the number of characters input into the field.
It also changes the cols/rows values to a more accurately reflect the amount of text available (see known issues)
Back-end:
Checks the limits and the data input and errors if the character length exceeds the limit (ie: when Javascript has been disabled)


Changelog:
  • Now 6.0.11 - 6.1.1 compatible
  • MaxChar field now hidden unless a text or textarea configurable field are selected
  • Supported installation and self-install options now available
Known Issues:
  • TEXTAREA field ignores row & column HTML settings due to CSS.. (Purely cosmetic irritation)

Re: [MOD] Max Characters - Config field (text/textarea)

Posted: Sun Jul 12, 2009 12:12 am
by Martin
I've just added a screen cast of the modification in action so it's a bit clearer as to what and how the mod' works.

http://www.snailsolutions.co.uk/_casts/Max_Chars/

Enjoy! :)

Re: [MOD] Max Characters - Config field (text/textarea)

Posted: Tue Aug 17, 2010 8:21 pm
by Snooper
Once you have made a configurable field.. How can you remove this at a later date ??

Re: [MOD] Max Characters - Config field (text/textarea)

Posted: Tue Aug 17, 2010 9:41 pm
by Martin
Snooper wrote:Once you have made a configurable field.. How can you remove this at a later date ??
You just empty the field name I think... Not tried as it happens..

Re: [MOD] Max Characters - Config field (text/textarea)

Posted: Tue Aug 17, 2010 11:08 pm
by Snooper
Is what I thought, but every time I try I get asked to enter something *tut*

I hate being php dumb !!

Re: [MOD] Max Characters - Config field (text/textarea)

Posted: Mon Oct 10, 2011 9:36 pm
by Martin
Given a couple of requests I've updated this mod/hack to be ISC 6.0.11 - 6.1.1 compatible...

Re: [MOD] Max Characters - Config field (text/textarea)

Posted: Wed Oct 12, 2011 4:40 am
by DBMAN
snailsolutions needs an update!

Your son is perpetually 1 year old....you have to let them grow up Martin!