devxlogo

Issue Authorization Number on Form Confirmation

Issue Authorization Number on Form Confirmation

Question:
I need to create a page that will issue a unique authorization number after a customer has filled out a form. I have created a form that writes to a database and then displays a confirmation page. Can I get the confirmation page to generate an authorization number using JavaScript or ASP? Customers will then be able to get repair authorization numbers online before they send in equipment for repair.

Answer:
You can use an ‘Autonumber’ or ‘Identity’ field in your database table as your confirmation number. Then when you insert the data in the database, access this ID value and return it back to the user as his/her confirmation number.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist