Hi all,
Any <input> field in HTML which has the name="FIELDNAME HERE" of your field will be recorded by oTree.
E.g.
<input type="range" name="myfield" min="0" max="4" value="0" step="0.01" class="form-range">
will be recorded in the field "myfield", which could be a FloatField.
One can even use something like this:
<input type="hidden" name="myfield">
Useful for JavaScript slider validation and the like (such as optional sliders). The value of this hidden input will be recorded by oTree as if it were an ordinary input.
Best,
Max
> --
> You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
otree+un...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/otree/ede47dd9-3861-413d-944e-0ec882c82707n%40googlegroups.com.