html forms vs revlets

ron barber runrevron at gmail.com
Thu Sep 10 09:45:47 EDT 2009


Thanks for your comments Sarah, Robert, Jacque and, as usual, to Kenji
for his examples.

I thought I would put up a page with some random examples of how such
things might be accomplished but got stuck on the sending mail. I have
used examples from Sarah's site for another application on my own site
but I thought I could put something like this in a button and have it
work. This fails. Any hints?


get shell("echo -e" && "mymessage" && "| mail -s" && "thesubject" &&
"mymail at gmail.com" && "-- -f" && "mymail at gmail.com"


Thanks
Ron


BTW - revspeaks works on my test page simply using the script from the
Documents example scripts. I hope to post the page soon once I get
this mail thing worked out.

On Sep 10, 2009, at 10:13 AM, Judy Perry wrote:

I had been wondering the same thing as Ron... Thanks for further info,
Sarah; I, too, will be following this :-)

Judy


On Thu, Sep 10, 2009 at 6:26 PM, J. Landman Gay
<jacque at hyperactivesw.com> wrote:
> Sarah Reichelt wrote:
>
>> I hadn't thought of using revlets in the place of forms but it is an
>> interesting thought.
>> Currently, we have html forms and the data they send can easily be
>> processed using irev scripts.
>> If you had a revlet acting as the form, there seem to be two ways it
>> could handle the submitted data. Either it could "POST" it all off to
>> a .irev file exactly or all the processing could be done in the revlet
>> itself, with any emails generated (using the mail shell command) and
>> data saved.
>
> The vote polling example on the on-rev site does this. It displays a revlet
> inside an iRev page and posts the response back to the same iRev page. Works
> very well.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> 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