Does anyone have examples or instructions on how to use the post command in
MetaCard that they'd be willing to share? I'm having trouble figuring out
how to translate a form into a successful post.

The syntax is 

post <expression> to <url>

I'm wondering what goes in the expression and what in the url.

If I have a simple form like this:

<FORM ACTION="FMPro" METHOD="post">
<INPUT TYPE="hidden" NAME="-DB" VALUE="pages">
<INPUT TYPE="hidden" NAME="-Lay" VALUE="main">
<INPUT TYPE="hidden" NAME="-format" VALUE="search_results.htm">
<INPUT TYPE="hidden" NAME=marked VALUE=Yes>
<INPUT TYPE="submit" NAME="-Find" VALUE="Show Marked">
</FORM>

would that translate to something like:

put "http://www.myserver.com/FMPro?-DB=pages&;" into theURL
put "-Lay=main&-format=search_results.htm&marked=Yes" after theURL
post "-Find" to url theURL
put it --this is what comes back from the server

or something else?

Thanks

geoff


Reply via email to