Solved

Coldfusion 9  Progress Bar

Posted on 2014-11-17
4
118 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
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 …
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…

770 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