ActionView::Helpers::FormTagHelper
field_id
API docs (Rails 8.1.4.1) ↗def field_id(object_name, method_name, *suffixes, index: nil, namespace: nil)
Description
Returns an id value as a string, in the same format that text_field and other FormHelper helpers use.
ERB
Changes from the previous output: Added Removed Changed
HTML
Preview
Form submission
Form data
| name | value |
|---|
Request body
Content-Type:
params