Hello,
I am using Chronoforms V4 RC3.0 and Joomla 2.5.
I just ordered the Chronoforms 3.1 Book but the two versions are different and I am having a hard time figuring this out.
I found this code
window.addEvent('load', function() {
// execute the check after each keystroke
$('text_0').addEvent('keyup', function() {
// set the maximum number of characters
max_chars = 300;
// get the current value of the input field
current_value = $('text_0').value;
// get current character count
current_length = current_value.length;
// calculate remaining chars
remaining_chars = max_chars - current_length;
// show the remaining characters
$('counter').innerHTML = remaining_chars;
});
});
which I placed in the On Load, Load JS area.
What do I need to place in the form code that and also block more characters?
Thanks, Chuck
I am using Chronoforms V4 RC3.0 and Joomla 2.5.
I just ordered the Chronoforms 3.1 Book but the two versions are different and I am having a hard time figuring this out.
I found this code
window.addEvent('load', function() {
// execute the check after each keystroke
$('text_0').addEvent('keyup', function() {
// set the maximum number of characters
max_chars = 300;
// get the current value of the input field
current_value = $('text_0').value;
// get current character count
current_length = current_value.length;
// calculate remaining chars
remaining_chars = max_chars - current_length;
// show the remaining characters
$('counter').innerHTML = remaining_chars;
});
});
which I placed in the On Load, Load JS area.
What do I need to place in the form code that and also block more characters?
Thanks, Chuck