Site:Frontend:Forms

From Metrixstream
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
== Introduction ==
+
= Introduction =
  
== Parameters ==
+
= Parameters =
  
=== Action ===
+
== Action ==
  
=== Verb ===
+
== Verb ==
  
=== Mode ===
+
== Mode ==
  
 
This optional parameter sets the response type.
 
This optional parameter sets the response type.
Line 15: Line 15:
 
   <input type="hidden" name="mode" value="xml" />
 
   <input type="hidden" name="mode" value="xml" />
  
=== Continue ===
+
== Continue ==
  
 
This optional parameter is the page you will be redirected to after a successful form submit.
 
This optional parameter is the page you will be redirected to after a successful form submit.
Line 21: Line 21:
 
   <input type="hidden" name="continue" value="http://example.com/?page=some-successful-page" />
 
   <input type="hidden" name="continue" value="http://example.com/?page=some-successful-page" />
  
=== Retry ===
+
== Retry ==
  
 
This optional parameter is the page you will be redirected to after a unsuccessful form submit. This page will also contain the MS.error HDF value with the error/reason why the form wasn't successful.
 
This optional parameter is the page you will be redirected to after a unsuccessful form submit. This page will also contain the MS.error HDF value with the error/reason why the form wasn't successful.
  
 
   <input type="hidden" name="continue" value="http://example.com/?page=some-failed-page" />
 
   <input type="hidden" name="continue" value="http://example.com/?page=some-failed-page" />

Revision as of 14:03, 15 June 2012

Contents

Introduction

Parameters

Action

Verb

Mode

This optional parameter sets the response type.

Avaliable modes: xml, json

 <input type="hidden" name="mode" value="xml" />

Continue

This optional parameter is the page you will be redirected to after a successful form submit.

 <input type="hidden" name="continue" value="http://example.com/?page=some-successful-page" />

Retry

This optional parameter is the page you will be redirected to after a unsuccessful form submit. This page will also contain the MS.error HDF value with the error/reason why the form wasn't successful.

 <input type="hidden" name="continue" value="http://example.com/?page=some-failed-page" />
Personal tools