Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.
  • Page:
  • 1

TOPIC: Variables

Variables 4 weeks 1 day ago #6916

  • annem
  • annem's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 107
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Variables 4 weeks 1 day ago #6917

  • Fay
  • Fay's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 174
  • Thank you received: 60
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

Please Log in or Create an account to join the conversation.

Variables 4 weeks 1 day ago #6918

  • annem
  • annem's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 107
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ingdon
Time to create page: 0.041 seconds
Copyright © 2020 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search