It seems the action.data is bugged.
If you change the name of list_fieldnamnes to listfieldnames, and the
url from fieldnamnes={=fieldnamnes} to fieldnamnes={listfieldnamnes}
one can add things, but the list function breaks. This, however,
seemed to work:
----
! Data
Use this form to update existing data values on page: **{p}**
Current Fields: {data}
[form]
[t]
[(list '{data},{?fieldnames}' template=tmplt)]
[r][c][c][submit DATA]
[t]
[session savedata '{data},{?fieldnames}']
[form]
<box>
[form]If you wish to add new data fields, you may create them below.
Just enter a comma separate list of single words. To delete a field,
delete its contents above.
[text listfieldnames "{?fieldnames}" size=40] [submit value='New
Fields']
[session nextpage {p}&action=data&fieldnames={=listfieldnames}]
[session msg]
[form]
</box>
/*
[[#tmplt]]
[(template each)][if insource {p}:{+p} ''][r][c top]{+p}: [c][box {+p}
cols=50 rows=5 value={p}:{+p}][box][else][r][c]{+p}: [c][text {+p}
source=:{+p} size=60][if]
[[#end]]
*/
----
Although it may also have done some strange things. with variable
namnes.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---