WebBasic CMS


input multivalue fields

All tags input, select, textarea inside the instruction multiinput become multipoles and stored in json format inside a field with the name specified in the attribute name .
For work instructions template you need to connect the js-code /engine/js/functions.js

Example :

<form role="form" class="form-horizontal">
    <label>User Name</label>
    <input type="text" class="form-control" name="name"><br>
    <div class="col-sm-12" data-wb-role="multiinput" name="finanse">
        <div class="col-sm-3">
             <input class="form-control" type="datepicker" name="date" placeholder="Date">
        <div class="col-sm-3">
             <input class="form-control" type="number" name="summ" placeholder="Sum">
        <div class="col-sm-6">
             <input class="form-control" type="text" name="comment" placeholder="Comment">

Control attributes :

instruction name - multiinput
name of the field to save the data