In lime survey when we add a question it will ask for unique question code ie in the form of Alphabets and Numeric value. The regular expression for that question code pattern is ^[a-zA-Z][a-zA-Z0-9]*$. I want to use the regular expression to access numerical value only.
Where do i change in code to accept only numeric value in Question code?
OK,
Yes, I know it doesn't make any sense but sorry, its our client requirnment so I need to change in the code.
For that I found the files to be change i.e. _tabs.php, Question.php, surveyadmin.php. I use /^[0-9]*$/ this to accept only numeric value.