Jacque tutorial - save form data to stack
Jim Ault
JimAultWins at yahoo.com
Tue Sep 9 15:43:06 EDT 2008
First try commenting out all but one line:
put $QUERY_STRING into theTerms
# set the uTerms of stack "sweet" to theTerms
#save stack "sweet"
#put "" into buffer
put "got here successfully" && the seconds
Then add each one to make sure there is not a line ending or other issue.
After that seems to work, try
if there is a stack "sweet" then put "Rev thinks there is a sweet stack"
put the effective filename of stack "sweet" && the seconds
Hope this helps.
I add the seconds to the output so I can see changes due to refresh even if
the other output remains the same.
Jim Ault
Las Vegas
On 9/9/08 11:58 AM, "Jim Sims" <sims at ezpzapps.com> wrote:
> I've been having fun today going through the wonderful tutorial
> http://www.hyperactivesw.com/cgitutorial/intro.html
> Thank you Jacque!
>
> I've been able to do the entire thing - it is an excellent tutorial.
>
> When I decided to try and use data from the form Addresses and
> save to a separate rev stack named "sweet" (which is in the CGI dir
> and set to 755)
> I ran into trouble.
>
> The script starts like this (I added lines 3 & 4):
>
> on librarystack
> put $QUERY_STRING into theTerms
> set the uTerms of stack "sweet" to theTerms
> save stack "sweet"
> put "" into buffer
>
> Can anyone give me some tips on this?
>
> My goal is to have people fill out web page form and have
> that data saved to a rev stack - then continue to use that
> data as in the Addresses stack.
>
> sims
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list