# vim: sw=3 ts=3 ft=org
#+TITLE: restful_submit Element
#+STYLE: <LINK href='../stylesheet.css' rel='stylesheet' type='text/css' />
#+AUTHOR: Steffen Panning
#+OPTIONS:   H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL: 
#+TEXT: [[file:../index.org][Getting Started]] | [[file:../api.org][API]] | [[file:../elements.org][*Elements*]] | [[file:../actions.org][Actions]] | [[file:../validators.org][Validators]] | [[file:../handlers.org][Handlers]] | [[file:../config.org][Configuration Options]] | [[file:../about.org][About]]

* RESTful Submit Element #restful\_submit{}
  The restful\_submit element produces an input field of type submit.
  When clicked, the restful\_submit field submit the surrounding form.

** Usage

#+BEGIN_SRC erlang
   #restful_submit { text="Go!" }
#+END_SRC

** Attributes

   + text - (/string/) :: The button's title.

   + html\_encode - (/boolean/) :: Set to true to safely html-encode the text.

   + html\_name - (/string/) :: the name attribute of the restful\_submit element 

** See Also

   + [[./base.html][Base]]

   + [[./link.html][Link]]

   + [[./textbox.html][Textbox]]

   + [[./password.html][Password]]

   + [[./textarea.html][Textarea]]

   + [[./checkbox.html][Checkbox]]

   + [[./dropdown.html][Dropdown]]

   + [[./option.html][Dropdown Option]]
   
   + [[./restful_form.org][RESTful Form]]

   + [[./restful_reset.org][RESTful Reset]]

   + [[./restful_upload.org][RESTful Upload]]
