This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Variables

Plus d'informations
il y a 5 ans 10 mois #6916 par annem
Variables a été créé par annem
Hi Xerte community
I am struggling with Variables.
I do not write code. Fay kindly helped me a while back with some code for variable and I have used that.
I want to get rid of the email text field on my xerte
I want to include: level

The link to my practice xerte is here,
xerte with variables test xerte

And below:
xerte.northampton.ac.uk/xertetoolkits/play_4069

I am struggling as I am not a coder. And I have tried to adjust code etc but it won't work.

Please help.
Best wishes
Anne

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 10 mois #6917 par Fay
Réponse de Fay sur le sujet Variables
Hi Anne
I think that when I helped you with this a while ago we had to add custom code to get the form fields to save their data as variables. There's now some in-built functionality to do this. See the 'changing variable values at run time' section of the variables guide for some info about how to do this. After you've set up variables you can add a text box using the syntax [=variableName] & submit buttons using [+submit]. There's more info in the guide.

Hope this helps
Fay

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 10 mois #6918 par annem
Réponse de annem sur le sujet Variables
Hi Fay,
Thank you for a quick reply.
And thank you for the guide,
I will read the guide and hopefully it will help me. II am not very good at variables, so hopefully I can sort it out. You can probably see that I am nearly there.
I just need the level to be active, that is the variable that is currently not working, and I can't figure out why.

I may get back to you.
Keep safe and well.
Best wishes
Anne

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.129 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo