qString: Overwrite with HELLO WORLD

qString: 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>
warning Freely modifiable HTML/JavaScript code, MIT License. No warranty of any kind.
(Decoration using JavaScript is only available in the Professional edition: M213)

Capture

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)

See Also

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: