cleansedbb
Technical User
I have this right now and it checks for character spacing and replaces with a predefined string.
$FORM{'message'} = "Line to long, please limit to 64 chars" if $FORM{'message'} =~ /\S{64}/;
my question is can you have it check for repeating strings.
i.e a person types in 1234567890 1234567890 1234567890 it will delete the last two+ successions of the string and only post the first.
$FORM{'message'} = "Line to long, please limit to 64 chars" if $FORM{'message'} =~ /\S{64}/;
my question is can you have it check for repeating strings.
i.e a person types in 1234567890 1234567890 1234567890 it will delete the last two+ successions of the string and only post the first.