Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
I want to use this script to make a site where people can discuss unknown callers. Therefore, under "The question in one sentence:" i wanted people to be able to enter only 10 numbers. So in case the user entered anything else, or more, or less, than 10 numbers, then reject the question saying "Please enter only the number in the field under "number". So the field would accept xxx-xxx-xxxx or (xxx)-xxx-xxxx or just 1234567.


Any idea on how to do this i.e. what files to modify?
Q2A version: latest

1 Answer

0 votes
The best way to do this is with a plugin containing a filter module.
Any tips on how to do this?