0

ビューを作成するために、Play Framework 内で scala テンプレートを使用しています。

ユーザーは、テキスト領域にテキストを入力する必要があります。このテキストを使用して、アプリケーション内の別のビューに送信したいと考えています。

<div class="ui form">
 <div class="field">
   <label>Please use the text box below</label>
     <textarea>//this is the text that i need to grab</textarea>
 </div>
    @pet_order(petId, //this is where i send in the text)
</div>

これを達成する方法について誰かアドバイスをもらえますか?

4

1 に答える 1