Sanwaf Copy Code & Attribute Builder Utility (beta)
Copy Code Fragments (steps 1-3, 5-6)
Short form
Long form
1.
Import Sanwaf-UI.js
2.
Import Sanwaf-UI.css
3.
sanwafuiconfig div
4a.
method to validate form
4b.
method to Blur element
4c.
method to validate element
4d.
method to get form errors (json)
4e.
method to get element errors (json)
6.
method to initialize sanwaf-ui
Build Custom Sanwaf-UI Attributes (step 4)
Display Name:
placeholder:
Label Id
Error Msg
Data Type
Character
Numeric
Numeric Delimited
Integer
Integer Delimited
Alphanumeric
Alphanumeric & more
String
Open
Constant
Regex
Format
Dependent Format
Delimiter:
Additional Chars:
Comma separated list of values:
Regex:
Parent name or ID:
, Trigger value:
Format:
, Test:
Format Builder
Fixed Value:
Any Character
Alphabetic (any case)
Alphabetic (lower case)
Alphabetic (upper case)
Numeric
Numeric Range
, Min:
, Max:
Numeric List of Values:
(comma separated)
Numeric Date Range
, Min:
+
-
dd
mm
yy
yyyy
, Max:
+
-
dd
mm
yy
yyyy
Another Format
Mask value (error)
Required
Disable Paste
Disable Drop
Min Length
Max Length
Min Value
Max Value
Related to
Element:
By Equality
Value:
Generated Attributes
Test Generated Attributes
Label
Sanwaf Documentation
Sanwaf-Server
Sanwaf-UI
Sanwaf-UI Guide
Sanwaf-UI-2-Server
Sanwaf-Sample Application
Version: 0.0.1 - © 2021 Bernardo Sanchez (bernardo.toronto@owasp.org)