qString: Overwrite with HELLO WORLD
Hello World for learning the “Questetra Form JavaScript API”. Set the following code in the “Description” section of the STRING DataItem. The “Input HELLO WORLD” button will appear on the Task Form. (Editable Step with read/write permission)
Input / Output
→ qString (STRING_TEXTFIELD) q_HelloWorld
Code Example
HTML/JavaScript (click to close)
<button type="button" onclick="user_overwriteHelloWorldToQstr ( 'q_HelloWorld' )"> Input HELLO WORLD </button>
※ Click to Overwrite / クリックで上書き
<script>
function user_overwriteHelloWorldToQstr ( qStrFieldName ) {
qbpms.form.set( qStrFieldName, "HELLO WORLD" ); // update the input form of Questetra
}
</script>
Freely modifiable HTML/JavaScript code, MIT License. No warranty of any kind.
Capture

