Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Backend Code change in PHP

More
7 years 9 months ago #160817 by Arumugam
Right now, I have few challenges like adding 350 values in the dropdown list and emaild ID validation etc., Is this possible to perform them by modifying the backend code in PHP?


Thanks in advance.

Regards,
Aru.
The topic has been locked.
More
7 years 9 months ago - 7 years 9 months ago #160823 by Joffm
Replied by Joffm on topic Backend Code change in PHP
Hello, Arumugan, good afternoon,

1. Why do you say that you cannot enter more than 250 anwer options?


2. I told you before: email validation -> regular expression.
As described in the manual: /^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/
Of course you are free to adapt it.

See attached sample with 350 answer options and email validation.

File Attachment:

File Name: limesurvey...9117.lss
File Size:118.44 KB

Kind regards
Joffm


But to answer your question:
Of course it is possible to modify the php code.
You have the original code, so why not change it. Develop whatever you want.
But remember: Updates will overwrite your new code.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 9 months ago by Joffm.
The following user(s) said Thank You: Arumugam
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose