Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
hidden_field_tagを使用したフォームがあります。hidden_field_tagにパラメーターとして入力した値は整数ですが、反対側に出力されると文字列になります。隠しフィールドタグはこれを自動変換しますか?ありがとう
短い答え=はい本当の答えは、html側に入力タグを作成することです。整数として渡した値は、value = "your value here"として設定されます。したがって、入力フィールドのすべてが文字列になります。