Solved

Coldfusion 9  Progress Bar

Posted on 2014-11-17
4
115 Views
Last Modified: 2015-01-02
I want to prevent the credit card form from being submitted twice. Maybe display a progress bar and hide the form so that it doesn't get submitted twice.
0
Comment
Question by:smares323
4 Comments
 
LVL 28

Expert Comment

by:Pravin Asar
ID: 40452117
One of the easiest solution is
1. Disable the button once user clicks. This will submit the form only once.


for example:

<cfform name="f1" method="post">
<cfinput type="text" name="ccn"/>
<cfinput type="submit"  value="Submit" name="sbt" onclick="this.disabled=true;">
<cfinput type="reset"   value="Reset" name="reset" >
</cfform>
0
 
LVL 4

Accepted Solution

by:
onlyamir007 earned 500 total points
ID: 40458805
use cfprogressbar,


after submission you can take user on staus bar page, where you can use coldfusion progressbar function.

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec19562-7fdf.html

Hope it will help

Amir
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now