Small typo in the form (didn't change the problem but was wrong) The
content line should have been:
**Contact: [(userid =/{=sol_contact}/= )]
A function that I use on the generated page to lookup the userid's info and
display it.
On Mon, Sep 21, 2009 at 12:18 PM, Kevin <[email protected]> wrote:
>
> Trying to setup a form.
>
> On the form there are 3-4 fields and a save button.
>
> No preview is wanted or desired.
>
> When save is used, the page is actually is created and the data variables
> are actually saved to the page, but the page content itself is blank.
>
> If I load the page, and look at the data values, they are all there as they
> should be, but for some reason the actual page content itself didn't get
> there.
>
> I've tried a number of different ways of doing this but the result is
> always the same. Below is my latest attempt. It is possible that I now
> have a form that is missing some required pieces??
>
> Also, is there a way to use box in a hidden way? Right now I am using
> [hidden var value="....."] to setup the page content.
>
> I've also tried doing the same with the [session create "....." ] directly
> as well with the same results.
>
> Form:
>
> - - - - - - - - - - - - - - - - - - -
> [form id=boltform]
> [t][r][c]Title:[c][text sol_title value="MUST ENTER TITLE" size=45]
> [r][c]Description:[c][box sol_desc cols=60 rows=3]Insert Description[box]
> [r][c]ETA:[c][box sol_eta cols=60 rows=1]No ETA at this time.[box]
> [r][c]Contact:[c][text sol_contact value="{id}" size=20 ] Only Valid
> UserID's
> [t]
>
> [hidden sol_content value="/=! {title}
>
> <box>
> **Contact: [(userid =/{=sol_contact}/=
> </box>
>
> !! Description
> =/{=sol_desc}/=
>
> !! ETA
> =/{=sol_eta}/=
>
> "]
>
> [submit name=boltsubmit[] value=SAVE]
> [session target whiteboard.{now}
> [session create {=sol_content}]
> [session author {member}]
> [session changesummary "Page created by {=author}."]
> [session status "Open"]
> [session title {=sol_title}]
> [session contact {=sol_contact}]
> [session savedata author,changesummary,title,status,contact]
> [session nextpage {=target}]
> [form]
> - - - - - - - - - - - - - - - - - - -
>
> Example page created below... shows the data variable got saved, but no
> actual page content.
>
> # cat whiteboard.1253560196
> - - - - - - - - - - - - - - - - - - -
>
> ~data~
> author: admin
> ~
> changesummary: Page created by admin.
> ~
> title: Test 1223
> ~
> status: Open
> ~
> contact: admin
> ~
> - - - - - - - - - - - - - - - - - - -
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---