An open API service indexing awesome lists of open source software.

https://github.com/aurasphere/chkwform.wasm

COBOL web assembly plugin to validate HTML forms
https://github.com/aurasphere/chkwform.wasm

Last synced: 11 days ago
JSON representation

COBOL web assembly plugin to validate HTML forms

Awesome Lists containing this project

README

          

# CHKWFORM.wasm - Web Assembly COBOL Form Validation Plugin

## Description

CHKWFORM is a powerful and efficient Web Assembly COBOL plugin designed to simplify the process of validating user-entered data in HTML forms. It harnesses the robustness and reliability of COBOL to ensure accurate data validation, saving you valuable time in managing information.

At its current stage, CHKWFORM specializes in validating numeric inputs. It employs advanced algorithms to check the correctness of user-entered numerical data, guaranteeing maximum precision in form validation.

## Features

- **Accurate Validation**: CHKWFORM utilizes sophisticated algorithms to ensure the correctness of user-entered data, providing highly accurate form validation.

- **Data Security**: We prioritize the protection of sensitive user data. CHKWFORM ensures information security during form validation, with data neither stored nor shared with third parties.

- **Easy Integration**: Integration of the plugin into existing forms is seamless. By including our script and defining the desired validation rules for each field, you can easily incorporate CHKWFORM into your web application.

- **Compatibility and Responsiveness**: CHKWFORM is compatible with all major browsers and devices. Whether on desktop or mobile, the plugin guarantees proper validation of forms, providing a consistent user experience across platforms.

- **Handle Multiple Users**: CHKWFORM is designed to handle billions of users concurrently, providing seamless and reliable validation for each user's input.

## Usage

To use CHKWFORM, follow these steps:

1. Download the scripts in the `build` directory and include them in your project:
```
import wasmModule from "../build/CHKWFORM.js";
```

2. Create `globalThis.response` and `globalThis.request` objects with lower and higher bounds used for validations:
```javascript
globalThis.response = {
body: "",
};
globalThis.request = {
params: {
lowerBound: 10,
higherBound: 20,
},
};
```

3. Load the WebAssembly module and create an instance:
```javascript
const instance = wasmModule();
```

4. Invoke the `_entry()` function to validate the form, and display the response indicating if the validation is successful or not:

```javascript
globalThis.request.params.input = 11;
instance._entry();
console.log(globalThis.response.body);
```

After performing these steps, you should receive a `CC0000` code if the validation is successful or a `CC0008` code if the validation fails.

For more detailed instructions and examples, please refer to the demo folder showcasing the plugin.

## Contact Information

For further inquiries or to purchase CHKWFORM, please find my email address on my GitHub profile.