- Posts: 12
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
well, you can insert this message in the question text with an IF, likeI juste want to show a text only if the selected date is under 10 days
{if(strtotime(self)-strtotime('now')<864000,'<span style="color:red;font-weight:bold">Attention: Your selected date is less then 10 days from now</span>','')}
{if(!is_empty(self) and (strtotime(self)-strtotime(date('Y-m-d')))<864000,'<div class="alert alert-warning alert-dismissible fade show" role="alert"><strong>Attention :</strong> Your selected date is less then 10 days from now<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></div>','')}
Please Log in to join the conversation.
Please Log in to join the conversation.