The FormInput -element allows you to create different kinds of basic HTML form elements: text, password, button, etc.

Parameters

  • type : The type of the input field. It can be any of the basic HTML types: "text", "password", "button" or "submit". This is mandatory.
  • name : A name for the input field. This is optional, but very good to set, if you want your value to be visible in submission...
  • value : A preset value for the field. You can also set them via the FormSet -plugin.
  • size : The size of the input field.

Examples

[{FormOpen form='helloform'}]
Hello, [{FormInput type='text' name='hellotext'}]
[{FormInput type='submit' value='Submit, please' name='submit'}]
[{FormClose}]

Would appear like this:

[

Unknown macro: {FormOpen form='helloform'}

|(FormOpenform='helloform')]
Hello, [

Unknown macro: {FormInput type='text' name='hellotext'}

|(FormInputtype='text'name='hellotext')]
[

Unknown macro: {FormInput type='submit' value='Submit, please' name='submit'}

|(FormInputtype='submit'value='Submit,please'name='submit')]
-(FormClose)


Back to WikiForms.