qString: HELLO WORLD で上書き
qString: Overwrite with HELLO WORLD
「Questetra Form JavaScript API」を学習するための Hello World です。以下のコードを “文字型” データ項目 の[説明]部に設定します。処理画面に “HELLO WORLD を入力” のボタンが表示されるようになります。(@読み書きパーミッションのある工程)
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.
(Decoration using JavaScript is only available in the Professional edition: M213)
(Decoration using JavaScript is only available in the Professional edition: M213)
Capture
![「Questetra Form JavaScript API」を学習するための Hello World です。以下のコードを "文字型" データ項目 の[説明]部に設定します。処理画面に "HELLO WORLD を入力" のボタンが表示されるようになります。(@読み書きパーミッションのある工程)](https://i0.wp.com/support.questetra.com/wp-content/uploads/2023/04/qstring-overwrite-with-hello-world-2023-capture-ja.png?resize=1200%2C675&ssl=1)

