Solved

Coldfusion 9  Progress Bar

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP: Filling Out/Creating a PDF 29 113
Validating Date 4 30
disable and enable textboxes in dataTable 7 32
Jquery HTML() with ajax... replacing content 2 34
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 …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

730 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