JuliaPluto / PlutoUI.jl

https://featured.plutojl.org/basic/plutoui.jl
The Unlicense
302 stars 55 forks source link

Store User Selected Values #128

Closed tknopp closed 2 years ago

tknopp commented 3 years ago

This is either a user question or a feature request:

Is it possible to store the values that a user selected (e.g. a checkbox or a number field) within the Pluto.jl file?

Background: I try to evaluate if it is possible to auto grade multiple-choice tasks for students. We already do this for code (using unit tests that we include afterwards) but we would like to also add non-programming questions.

fonsp commented 2 years ago

Hi @tknopp !

We are working on a new type of widget where the state is stored as Julia code inside your cell: https://www.youtube.com/watch?v=HiI4jgDyDhY&t=1389s https://github.com/fonsp/Pluto.jl/pull/1551

I am closing this here since it is a broad topic being discussed elsewhere, but feel free to join the discussion on zulip: https://gist.github.com/fonsp/db7d00fd3fe5bc0b379b4af9ec6674b6