- Posts: 36
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I custom edit the mandatory text and pop out message text in limesurvey ?
- OngJunYew
- Topic Author
- Offline
- Junior Member
Less
More
3 years 10 months ago #201773
by OngJunYew
Can I custom edit the mandatory text and pop out message text in limesurvey ? was created by OngJunYew
Hi, I have two question in this topic.
First question: Can I edit the mandatory text "This question is mandatory" to my own custom text based on different question.
For an example, if respondent leave question 1 empty, it will show "Please select a rating". If respondent leave question 2 empty, it will show "Please select an answer".
Second question: Can I edit the pop out message based on question as well.
For an example, if respondent leave question 1 empty, it will show "Please select a rating". If respondent leave question 2 empty, it will show "Please select an answer" in the pop out message box.
First question: Can I edit the mandatory text "This question is mandatory" to my own custom text based on different question.
For an example, if respondent leave question 1 empty, it will show "Please select a rating". If respondent leave question 2 empty, it will show "Please select an answer".
Second question: Can I edit the pop out message based on question as well.
For an example, if respondent leave question 1 empty, it will show "Please select a rating". If respondent leave question 2 empty, it will show "Please select an answer" in the pop out message box.
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 years 10 months ago #201776
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
For mandatory part update : best is to didn't use included mandatory, but contruct your own one :
You have validation and validation tip for all question type now, thhe you can add in validation
!is_empty(self.NAOK)
and in tip : exactly what you want.
For the alert box : text was taken in LSvar.startPopups javascript array. Then there are surely some way to do this in plugin or survey theme.
More time to construct something, and can be hard.
You have validation and validation tip for all question type now, thhe you can add in validation
!is_empty(self.NAOK)
and in tip : exactly what you want.
For the alert box : text was taken in LSvar.startPopups javascript array. Then there are surely some way to do this in plugin or survey theme.
More time to construct something, and can be hard.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- OngJunYew
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 2
3 years 10 months ago #201783
by OngJunYew
Replied by OngJunYew on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
For this validation !is_empty(self.NAOK) is there any other way to hide the tips before submited the survey and if the respondent really did not choose any answer only will show the tips
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 years 10 months ago #201788
by DenisChenu
But need some css adaptation, and clear waht you need
Do you want to show the string
1. Only if there are error, hide it if succed.
2. Only when try to submit, if there are error
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
Yes,OngJunYew wrote: For this validation !is_empty(self.NAOK) is there any other way to hide the tips before submited the survey and if the respondent really did not choose any answer only will show the tips
But need some css adaptation, and clear waht you need
Do you want to show the string
1. Only if there are error, hide it if succed.
2. Only when try to submit, if there are error
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- OngJunYew
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 2
3 years 10 months ago #201789
by OngJunYew
Replied by OngJunYew on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
Hi DenisChenu,
Yes I want to show the tips after the respondent did not choose any answer and click submit button.
Not to show the tips when the survey is running from the beginning.
Thank you.
Yes I want to show the tips after the respondent did not choose any answer and click submit button.
Not to show the tips when the survey is running from the beginning.
Thank you.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 years 10 months ago #201790
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
Your LimeSurvey version ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- OngJunYew
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 2
3 years 10 months ago #201791
by OngJunYew
Replied by OngJunYew on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
limesurvey3.22.18+200603
The topic has been locked.
- ployrich
- Offline
- Senior Member
Less
More
- Posts: 46
- Thank you received: 4
3 years 5 months ago #208011
by ployrich
Replied by ployrich on topic Can I custom edit the mandatory text and pop out message text in limesurvey ?
Has there been a solution to this? I am curious as well.
The topic has been locked.