hundreds-camera-24900
01/12/2023, 8:38 PMhundreds-camera-24900
01/12/2023, 8:38 PMlate-king-98305
01/12/2023, 8:43 PMbumpy-kangaroo-60192
01/12/2023, 8:55 PMgorgeous-airport-54386
01/12/2023, 8:56 PMbumpy-kangaroo-60192
01/12/2023, 8:56 PMbumpy-kangaroo-60192
01/12/2023, 8:57 PMthankful-addition-60522
01/12/2023, 9:40 PMorange-umbrella-16693
01/12/2023, 9:55 PMonclick
with inline javascript and have that execute a javascript function instead (isn't this a big security and performance concern?)
- something else entirely? maybe with htmx.closest()
handsome-room-10543
01/12/2023, 10:49 PMhandsome-room-10543
01/12/2023, 10:49 PMrefined-waiter-90422
01/12/2023, 10:55 PM<body hx-boost="true">
refined-waiter-90422
01/12/2023, 10:56 PMruby-htmx
should be a thing 😆mysterious-toddler-20573
01/12/2023, 10:56 PMmysterious-toddler-20573
01/12/2023, 10:56 PMadventurous-ocean-93733
01/12/2023, 10:57 PMadventurous-ocean-93733
01/12/2023, 10:57 PMmysterious-toddler-20573
01/12/2023, 10:58 PMadventurous-ocean-93733
01/12/2023, 11:00 PMadventurous-ocean-93733
01/12/2023, 11:01 PMadventurous-ocean-93733
01/12/2023, 11:02 PMthankful-addition-60522
01/13/2023, 6:45 AM> Waits 128+ hours
> 0 responses
thankful-addition-60522
01/13/2023, 7:50 AMbland-coat-6833
01/13/2023, 9:21 AMcolossal-laptop-66232
01/13/2023, 10:53 AM<form action="" method="get">
<input type="text" name="Name" id="name">
<input type="text" name="Age" id="age">
<input type="text" name="City" id="city">
</form>
<button type="submit" disabled>Click!</button>
When the form is openned - submit is disabled, and it should change its state to active only after all form fields are filled.tall-dinner-62086
01/13/2023, 11:03 AMcolossal-laptop-66232
01/13/2023, 12:20 PMtall-dinner-62086
01/13/2023, 12:21 PMbland-coat-6833
01/13/2023, 12:42 PMrequired
attribute on your fields and that should disable submit until they are filled in: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/requiredripe-action-67367
01/13/2023, 12:53 PM