Expression recipes for SurveyEngine

Expression recipes for SurveyEngine

Expression recipes for formatting currencies, generating voucher codes, and adding passwords.

A step-by-step interactive tutorial on expression recipes for surveyengine in SurveyEngine. Preview the live tutorial, then download and upload it to your account to examine the construction.

Tutorials

What this tutorial covers

Expression recipes for formatting currencies, generating voucher codes, and adding passwords.

Each page of the tutorial demonstrates a specific technique. Work through it as a respondent first, then open the editor to see how it was built.

What you will learn

After completing this tutorial you will be able to implement expression recipes for surveyengine in your own SurveyEngine surveys.

Download the tutorial ZIP and upload it to your account to use it as a starting point or template for your own work.


Step-by-step walkthrough

Step 1: Format currency values. Use the format() function to display derived monetary values with correct currency symbols and decimal places.

Step 2: Generate voucher codes. Combine respondent ID with random elements to generate unique voucher codes at survey completion.

Step 3: Add password protection. Use an expression to check a respondent-entered password against a stored value before allowing survey access.

Step 4: Compute date arithmetic. Use date functions to calculate days between dates or display deadlines relative to the survey start date.

Step 5: String manipulation. Use string functions to extract, concatenate, or transform text variables for display or logic purposes.

Try the live tutorial

The live tutorial is a working SurveyEngine survey. Click through it as a respondent to see the finished result.

Then download the tutorial ZIP file and upload it to your SurveyEngine account to examine how it was built.

Preview the live tutorial or download the ZIP file to load it into your account.


References


Ready to try it? Open a free SurveyEngine account, download the tutorial ZIP and upload it to your account.

Monthly. Annual. Procurement Friendly.
No obligation · 30-minute call

Or Contact us at support@surveyengine.com — we're glad to help.


Related articles


Scroll to Top