I have a survey in which I need to test to see if the current time stamp is greater than a specified timestamp I am using this code
Code:
The time is {gmdate("l jS \of F Y")} this means that the {if(time()<1414713600,'early',if(time()<1414800000,'standard','late')}rate will apply to this registration.
this registration must be completed in the next {if(time()<1414713600,time()-1414713600,if(time()<1414800000,time()-1414800000,time()-1419638400)}secounds in order to still be eleagable for this rate
How ever I keep getting unsupported syntax erors. Does anyone know why?
Can you show the Expression Manager screen please ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Please see the attached screenshot of the screen showing the syntax errors. I am wanting to put the code into the welcome screen on the survey. Hovering over the errors returns : unsupported syntax errors
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.