Tags Order A-Z Category Context

<sn:editor-custom>

Renders a custom HTML form component inside the editor context, complete with a label. This tag can be any one of the standard HTML input types.

Attributes

  • string < optional > A short label that is displayed to the left of the input. Can be any string .
  • string < optional > The name of the form element when it is submitted. Can be any string .
  • string < optional > if set to true prevents the editor form rendering a label Can be any string .
  • string < optional > style of the

    element that is rendered for this widget. Can be any string .

Valid Contexts

  • : The area where your app is displayed alone
  • : The Bebo profile page
  • : On a notification page (after the user has clicked on a link in the email)
  • : On the invitations page

Code

<sn:editor action="#">
   <sn:editor-custom label="What Motorcycle?">
      <select name="diplacement">
         <option value="675" selected="selected">Triumph 675</option>
         <option value="750">GSXR 750</option>
         <option value="800">VFR 800</option>
         <option value="1000">MV Agusta F4</option>
         <option value="1100">Ducati 1098</option>
         <option value="1200">SR71</option>
       </select>
   </sn:editor-custom>
 </sn:editor>
Play with this code in the sandbox