> http://boltwire.com/index.php?p=docs.forms.preserve > demo is not working. no values are set, it looks a normal empty form > without prefilled values.
It worked for me. I filled in values, and submitted. The values stayed even though the process was aborted. I suggest: * We add a region such that when the form aborts, one immediatly sees the form again. * We add a similar form without preservation. Could I be given enough privileges to edit forms please? > http://boltwire.com/index.php?p=docs.forms.required > where are the value of field1 and field2 set? Via "savedata" when you press the button. I don't know if I understand your question. > http://boltwire.com/index.php?p=docs.forms.scripts > Isn't there a _safer_ way of trying thing out? I mean, if a user wants > to try thing out he/she would rather mess things up that deleting > which can't be undone. Anyone knows a better option? I would suggest the following, except I currently can't get the actual script to work since upgrading (I've moved the page to site.script, but it doesnt seem to be executed): action.toggle: [(script toggle)] <(forward {?return})> site.script.toggle: <:if:> equal {:state} up ? state=down : state=up <:savedata:> state page.stuff: [search group=page.stuff if="equal {+:state} down" template=example] ---- [search group=page.stuff if="equal {+:state} up" template=example] /* [[#example]] [(template first)][t] [(template each)][r][c][[{+p}|+]][c][[{+p}&action=toggle&return={p}|- toggle-]] [(template last)][t] [[#end]] */ ---- It's a useful and inspiring example. > http://boltwire.com/index.php?p=docs.forms.select > This should be merged with docs.forms.required as it explains the > same. am I correct? I don't think so. The "select" field is a user input box. The required is a way to generate an message. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
