Finance Loan Enquiry Widget

Замовник: AI | Опубліковано: 19.12.2025

I need a small, embeddable widget for our finance website that gathers customer information and passes it to our back-end in a clean JSON payload. The form must ask for: name, email, phone, street address, date of birth, employment status, the amount they wish to borrow, and show the five loan types—Home Loan, Car Loan, Personal Loan, Equipment Finance, Business Loan—as radio buttons. On submit, the widget should validate required fields (email format, numeric amount, etc.) and POST the data to an endpoint I’ll supply; a simple success / error message on the widget is enough for now. Design should be responsive and neutral so I can restyle it later through CSS variables. Vanilla JavaScript is ideal, but React, Vue, or similar are fine provided you hand over a minified bundle ready to drop into any page with a single script tag. No server-side coding is required beyond demonstrating the request. Deliverables • Source code with clear comments • Production-ready minified bundle • One-page HTML demo showing the widget in action • README explaining how to embed, configure the endpoint, and tweak colours/fonts Acceptance criteria • All specified fields present and validated • Loan type rendered as radio buttons with exactly the five options listed above • Successful submission sends JSON to the provided URL and shows confirmation to the user • Widget renders correctly on mobile, tablet, and desktop screens For reference: www.loanoptions.ai Without all the extras they have there and simply what I have put.