Re: [racket-users] Formlets: No binding for 'select-input' without selection and values bound to binding:form

2017-12-22 Thread Christian
Hi Jay, * Thanks a ton for your fast, detailed and working response! * Quite a few points of how to use formlets became clear because of your answer. - E.g., I changed the text input to a simple ,{input-string . => . name-filter} * Perhaps something like your checkbox example could be added to

Re: [racket-users] Formlets: No binding for 'select-input' without selection and values bound to binding:form

2017-12-21 Thread Jay McCarthy
Hi, I would write this code like this ``` #lang web-server/insta (require web-server/http/bindings web-server/formlets web-server/formlets/lib web-server/formlets/input) (struct stop (id name)) (define stops (list (stop 1 "Foo") (stop 2 "Bar") (stop

[racket-users] Formlets: No binding for 'select-input' without selection and values bound to binding:form

2017-12-21 Thread Christian
* I have boiled down my problem to the minimal example at the end of the post * Basically, I'm running a formlet form in 'cycles' on itself to filter some list data * on the initial invocation, the bindings in the request are empty, as expected: request bindings: () stop: #f, use-name-filter?: