This package has been deprecated

Author message:

renamed

remixml-forms

1.0.2 • Public • Published

Remixml-forms

Remixml-forms is a form generator using Remixml.

Requirements

It runs inside any webbrowser environment (starting at IE11 and up).

Basic usage

 var template =
     "<label class=\"&_.css;\">&_.description;
       <input name=\"&_.name;\" type=\"&_.type;\" /> &_.error;</label>";
 var fields = [
   [ "foo", "password", "This is the description", "."/function,
     {template:template, error:"<span class=\"error\">&_.error;</span>",
       css: "Yes the CSS", persist: 0/1/2} ],
   [ "foo", "password", "This is the description", "."/function, template2 ],
 ];
 var form = forms.create("form", {name:"hello"}, fields);
 // forms.field(form, fields[0]);

Reference documentation

Full entity syntax

Examples

Simple assigment:

<set var="_.variablename">the new value</set>

API

References

/remixml-forms/

    Package Sidebar

    Install

    npm i remixml-forms

    Homepage

    remixml.org/

    Weekly Downloads

    1

    Version

    1.0.2

    License

    (ISC OR GPL-3.0)

    Unpacked Size

    6.94 kB

    Total Files

    9

    Last publish

    Collaborators

    • buglessrb