Validation

More
8 months 6 days ago #211846 by dmaot2021
Validation was created by dmaot2021
Hi,

i encountered an interesting problem with LS Offline Survey. I'd like to validate some questions in my survey like {time1.value < time2.value} and did my usual setup. It works just fine on PC, however while testing on smartphone the validation seems to not work at all. Is this intended? Can I do something to make it work?

Best regards
dma

Please Log in to join the conversation.

More
8 months 5 days ago #211862 by Joffm
Replied by Joffm on topic Validation
With the property ".value" you access the assessment value of the question.

the assessment value for the question if it is relevant (otherwise blank), or the text value if it is not a coded question.

Does assessment work at all in OfflineSurveys.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
8 months 5 days ago #211883 by Joffm
Replied by Joffm on topic Validation
Did you try to compare with
{strtotime(time1) lt strtotime(time2)}


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
8 months 4 days ago #211915 by aaskoura
Replied by aaskoura on topic Validation
Hi, assessments don't work on OfflineSurveys

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now