WebBasic CMS 404
References

formdata

getting the form data

formdata is designed to display field values from a specific record forms (tables). 

Example :

<div data-wb-role="formdata" data-wb-form="pages" data-wb-item="home" data-wb-vars='{"name":"test"}'> 
    <h1>{{header}}</h1> 
    <div class="content">{{text}}</div> 
    <p>the Variable name from the vars attribute: {{name}}</p> 
</div> 

Control attributes:

data-wb-role
name of the user formdata
data-wb-form
name of the form (table) from which comes the data set
data-wb-item
entry name data-wb-item which is taken from the dataset
data-wb-field
name field of the record containing the data set
data-wb-from
item name current entry contains the dataset
data-wb-json
dataset in JSON format for output
data-wb-call
the name of the function that returns the dataset to display
data-wb-json
transferred any variables to add to output