(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''FlexForm''' is a parser function. You can use it on any page and in any namespace. By default it will render plain HTML5 forms with no styling. To bring forms to live and make them attractive, you will need to add styling to a '''FlexForm''' or render using themes.
+
'''FlexForm''' is a parser function. You can use it on any page and in any namespace. By default it will render plain HTML5 forms with no styling. To bring forms to life and make them attractive, you will need to add styling to a '''FlexForm''' or render using themes.
  
 
'''FlexForm''' syntax is much like creating a standard form in HTML5, so if you are familiar with creating HTML5 forms, you should have no problems with '''FlexForm'''.
 
'''FlexForm''' syntax is much like creating a standard form in HTML5, so if you are familiar with creating HTML5 forms, you should have no problems with '''FlexForm'''.
 +
 +
If you are not familiar with HTML Forms, then [https://www.w3schools.com/html/html_forms.asp this link to W3schools] might be a good start.
  
 
Example:
 
Example:
Line 18: Line 20:
 
</_form>
 
</_form>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
Need some help ?
 +
 +
[[File:Discord-logo-blue.png|alt=|frameless|300x300px|link=https://discord.gg/ehFrPmT]]      Try the FlexForm Discord channel at https://discord.gg/ehFrPmT
 +
 +
[[File:Logo-ele-secondary.svg|alt=|frameless|300x300px|link=https://matrix.to/#/#wsform:matrix.org]]    Join the FlexForm and PageSync element channel : https://matrix.to/#/#wsform:matrix.org
ws-class-props
Line 1: Line 1:
 
+
{{Doc properties
 +
|Doc subject=DevOps:Doc/FlexForm
 +
|Subject version=1.0,1.1
 +
|Doc parent=
 +
|Doc sort order=5
 +
|Doc target group=User
 +
|Doc synopsis=Tips on getting started with FlexForm
 +
}}
ws-page-props
Line 1: Line 1:
{{Doc properties
+
 
|Doc subject=DevOps:Doc/FlexForm
 
|Doc parent=
 
|Doc target group=User
 
|Subject version=1.0.0
 
}}
 

Latest revision as of 11:15, 14 December 2022

FlexForm is a parser function. You can use it on any page and in any namespace. By default it will render plain HTML5 forms with no styling. To bring forms to life and make them attractive, you will need to add styling to a FlexForm or render using themes.

FlexForm syntax is much like creating a standard form in HTML5, so if you are familiar with creating HTML5 forms, you should have no problems with FlexForm.

If you are not familiar with HTML Forms, then this link to W3schools might be a good start.

Example:

This is a simple HTML5 form :

<form>
<label for="name">Name</label>
<input type="text" name="name" />
<input type="submit" value="submit" />
</form>

This is the same form, but now build with FlexForm :

<_form action="get">
<_label for="name">Name</_label>
<_input type="text" name="name" />
<_input type="submit" value="submit" />
</_form>

Need some help ?

Try the FlexForm Discord channel at https://discord.gg/ehFrPmT

Join the FlexForm and PageSync element channel : https://matrix.to/#/#wsform:matrix.org