Blog

Fix file input bug

User document.addEventListener("DOMContentLoaded", function () { const cards = document.querySelectorAll(".uploadtrigger"); const fileInputs = document.querySelectorAll(".inputFileHidden"); if (cards && fileInputs) { cards.forEach(card => { card.addEventListener("click", function () { const target = this.getAttribute("data-target"); const fileInput = document.getElementById(target); fileInput.click(); }); }); } // when file selected, start upload with progress document.querySelectorAll(".inputFileHidden").forEach(input => { input.addEventListener("change", function (e) { const file = […]

Fix form submit error

User Uncaught TypeError: Cannot read properties of null (reading 'submit') at HTMLInputElement. (brokercontacts:686:42) Hallo $Name Zur Übersicht Selbstauskunft hinzufügen $FormError $FormSuccess $FirstName $LastName Mietinteressent:in $FirstName $LastName Standaard contact $PositionUnterneehmen E-mail: $Email Zusätizlche E-mail: $ZusaEmail Tel: $CountryCode $Telefon Mobiel: $Mobile Fax: $Fax $Description um zu sehen hinzufügen <script> const accordions = document.querySelectorAll('.accordion'); accordions.forEach(acc => { acc.querySelector('.accordion-header').addEventListener('click', […]

Reset modal form

User <script> document.addEventListener("DOMContentLoaded", function () { const steps = document.querySelectorAll(".step"); let current = 0; function showStep(index) { steps.forEach((s, i) => s.classList.toggle("active", i === index)); } // attach click to all .nextandsubmit buttons document.querySelectorAll(".nextstep").forEach(btn => { btn.addEventListener("click", function () { if (current < steps.length – 1) { current++; showStep(current); } else { // last step → […]

Open bootstrap 5 modal

User open bootstrap 5 modal using js Assistant In **Bootstrap 5**, you can open a modal using JavaScript with the built-in `Modal` class. Here’s a simple example: ### HTML <!– Button to trigger –> <button id="openModalBtn" class="btn btn-primary">Open Modal</button> <!– Modal –> <div class="modal fade" id="myModal" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Bootstrap […]

3D Secure transaction block

User we are using this https://pay.sandbox.realexpayments.com/pay but wen test card we get Transaction blocked by merchant's 3D Secure configuration Assistant That error means your sandbox merchant is set to **block any transaction that isn’t 3-D Secure–authenticated** (for example: card not enrolled, auth unavailable, or failed challenge). Your HPP post is fine—the sandbox HPP URL `https://pay.sandbox.realexpayments.com/pay` […]

Git clone with app password

User git clone by app password Assistant Got it 👍 — you want to clone a Git repo using an **app password** (commonly used with Bitbucket or GitHub when 2FA is enabled). Here’s the format you should use: ### 1. For HTTPS clone with **username + app password** git clone https://<username>@bitbucket.org/<workspace>/<repo>.git 👉 When it asks […]

Gravity Forms custom field

User — Assistant You’re seeing only the hidden value saved because Gravity Forms only stores inputs whose names follow its expected pattern: `input_.`. Your current HTML uses plain inputs (no GF-style names), so GF ignores them. Below are the **minimal changes** to make your custom field a proper **multi-input** field so that GF saves every […]

Multistep Bootstrap modal form

User create multistep bootstrap 5 modal foerm Assistant I’ve put a ready-to-use Bootstrap 5 multi-step modal form in the canvas. It includes: – 3 steps with a visual stepper and progress lines – Built-in Bootstrap validation (Next is blocked until current step is valid) – “Back / Next / Submit” controls with a review step […]

Best EC2 instance for Angular Laravel

User Best ec2 instance for task manage and real time app in angular front and laravel backend Assistant Short answer: pick a **modern general-purpose or compute-optimized instance from the 7th gen families** (x86 “i” or ARM “g”), size it by concurrency, and keep WebSocket workers separate from the PHP queue workers. Here’s a practical menu […]

Health analysis and control

User Do all the analysis and let me know whats higher and what we need to control Assistant I’ve gone through the full report for **Mr. Alok Kumar Gupta (51 Y/M)** and here’s a clear analysis of what’s normal, what’s high/low, and where attention/control is needed: — ## ✅ Normal / Within Range – **CBC […]