# Popup css modal on form input

**URL:** <https://www.phphelp.com/t/popup-css-modal-on-form-input/35974>\
**Category:** Uncategorized\
**Created:** [January 12, 2024, 8:21pm UTC](https://www.phphelp.com/t/popup-css-modal-on-form-input/35974 "2024-01-12T20:21:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![phdr](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/91b2a8/32.png) [@phdr](https://www.phphelp.com/u/phdr)\
**Post date:** [January 13, 2024, 1:38am UTC](https://www.phphelp.com/t/popup-css-modal-on-form-input/35974/2 "2024-01-13T01:38:53Z")

</div>

> [@webchambers](#):
>
> I have 66 bedrooms hot and cold to input

You would use an array name for the form fields, with the room number as the array index. You would also dynamically produce that many repetitive same meaning form fields using a loop. The form fields should also be ‘sticky’ and repopulate the field values with any existing data, in case there is a validation error (or later when you are editing existing data.)

As to your main question, are you using a client-side library, such as jquery/bootstrap?

---

_[View the full topic](https://www.phphelp.com/t/popup-css-modal-on-form-input/35974)._
