4 ms·
It is hidden in the HTML form sense. <input name="amount" type="hidden" value="15000"> It doesn't become visible to the user until you click the radio butto
by edaemon 6y ago
It is hidden in the HTML form sense.
<input name="amount" type="hidden" value="15000">
It doesn't become visible to the user until you click the radio button.
- kalleboo 6y agoThat hidden input element contains the normalized value in cents, if that got filled out he would have only gotten charged $20. Right before it in the DOM is the stylized user-input field which does not get hidden (and populates the hidden field via JS) <input class="variable-amount-input" type="text" style="width: 27px;">