[Client_FormMethod] returns the method used to load the current page. Possible return values include GET and POST. Some Web servers might also send HEAD requests on to Lasso.
POST submissions encode the form data into a URL passed to the submission page.
GET submissions encode and pass the form data into name-value pairs into the body of the submission page.
HEAD requests request only headers from the form submission page.
Client_FormMethod
Use the [Client_FormMethod] method to check if GET or POST was used to load the current page and the [Client_GetArgs] or [Client_PostArgs] methods to retun the parameters.
Code
if(Client_FormMethod >> 'GET')
Client_GetArgs
else(Client_FormMethod >> 'POST')
Client_PostArgs
/if
Result
paired=values&this=too
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments