How to detect if the page is a reload or not?
I have a form in the cfm page if the user submits the form, I don't want to go to another page. I want to reload the page and I'll capture all values and send the data in this way. However, I need to hide the form once the user submits the form. So, how I detect if the page is a reload (after is submitted) or it's the first time it is been charged?
You can manage only two ways. One, add a hidden field to the form that passes a value, then check if the value exists in the URL/FORM variables (if it exists, the page is reloaded by sending the form - if it does exist, it's the first load of the page).
Perhaps a better approach would be to manage the form via an AJAX request is sent, and then hide the form if the AJAX request is successful. This all is possible using JavaScript. The advantage is that the user leaves the page never actually or it recharges.
Tags: ColdFusion
Similar Questions
-
I installed 5.6.2 Pages but all my old documents will open with ' 08 v.3.03 How can I remove the Pages ' 08 and update all the old documents
5 pages is located in your Applications folder.
Pages ' 08 is located in your Applications/iWork ' 08 folder.
If you open your old documents Pages ' 08 with 5 Pages it will convert and if not damage, remove a large number of useful features.
You will probably regret upgrading to 5 Pages which Apple has made extremely inconsistent and keeps changing its file format.
Peter
-
How can I erase the pages of an existing pdf file?
How can I erase the pages of an existing pdf file?
Hi doraa14075208,
You sure you want to delete the pages of a PDF file, if yes then you need Acrobat application to rotate, move, deleteand renumber pages in Adobe Acrobat PDF.
Kind regards
Nicos -
How can I make the page of form for the Yahoo host?
How can I make the page of form for the Yahoo host?
I guess you want a contact form that sends data to your e-mail account.
- Find out if your hosting plan supports PHP code and the PHP mail() function.
If so, try this tutorial into 3 parts:
ALT-Web Design & Publishing: sensitive Contact form with 3.2 Bootstrap and PHP (part 1) - If your hosting plan does NOT support scripts, you will need to use a 3rd party like Wufoo.com service. They host the form processing scripts on their own servers for you.
Nancy O.
- Find out if your hosting plan supports PHP code and the PHP mail() function.
-
When I print a document in pdf format to save, how can I keep the page displayed?
When I print a document in pdf format to save, how can I keep the page displayed? It takes extra time to close each document. He has not done this before going to a new version.
solved.
Judy Reynolds
Office: (979) 703-6200
-
How do I rearrange the pages once they are in adobe acrobat format?
I have a NeatDesk who scans my pages in Adobe Acrobat PDF. But when my scans must be the combination of size size and the receipt of letters, he puts them out of use. How can I rearrange the pages scanned once they have been created in several page PDF format?
In browsing the Pages panel, you can move pages.
-
Can I create an action to move the last page to the first? I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.
Yes, you can do it using a script. This code should do the trick:
this.movePage (this.numPages - 1, -1);
-
How can I hide the page thumbnails navigation bar initially to the top of Adobe Reader and open a pdf file? I couldn't find this option on the Preferences tab? Thank you
Under Edit - Prefs. - Documents check the box that says "Restore last display settings when reopening documents." Hide the Pages panel manually, and the next time that you open the file it should have disappeared.
-
How can I change the page size of a pdf document so that I can check on my iphone more clearly?
This is way beyond what can be done with PDF, except by copying the text and make a new document in Word or something.
That said, Adobe Reader on Windows may display the text AS IF the PDF file has been divided. It's the text reformatting. It may be possible in Reader for iPhone, you can try the player for ios forum.
-
Safari can't open the page because your iphone is not connected to the internet
Hello
I had this problem since I updated to iOS 9.3.1. I use mobile data and when I open Safari, it says: "Safari cannot open the page because your iphone is not connected to the internet. I can't find or load pages. However, I can connect using mobile data chrome and other applications such as Instagram etc. Funny thing is when I connect to wifi, Safari will work very well. Help, please. Thank you very much
I use the iphone 5, iOS 9.3.1.
Thanks again!
Use settings - mobile - cellular - data scroll through Safari - is he toggled OFF?
-
I downloaded Firefox 5 and discovered that it disabled my McAfee SiteAdvisor as inconsistent. No compatible version of the SiteAdvisor has been found. How do I remove the Firefox-5 and reload my old Firefox 4 so I can reactivate the SiteAdvisor?
Thank you
McAfee Site Advisor 3.3.1 expansion was the number 2 cause accidents in one of the versions beta Firefox 5.0 and Mozilla Blocklisted it. This extension is disabled in Firefox 5, Firefox 6.0beta and Firefox 7.0alpha versions. McAfee is working on a new version of re-written extension of the Site Advisor to solve their problems - ETA is mid to late July.
https://Bugzilla.Mozilla.org/show_bug.cgi?id=660111Thanks to the-edmeister
-
I just bought the New Avengers movie with the digital copy. I moved it and now I can't watch it. I have "Windows Media Player cannot play the protected file. Drive detected that the connection to your hardware may not be safe. "when I click it. What now?
Hi Jason,
Thanks for asking this question to Microsoft Community. I'll try and help you resolve the problem; However, I will need to ask you a few questions.
Are you able to play other movies without any problem? Have you done a recent software or changes to the material on the computer?
Here is a link with some good steps. Go through it and check if it helps. Also check out this article and see if it helps.
Also, see the steps in the article and see if it helps.
Hope this helps and let us know if you need more assistance. We will be happy to help you.
-
Whenever I try to send a fax, I get: "no dial tone was detected. The telephone line is busy or not connected to the computer. "Any ideas?
You can't send a FAX via a connection to broadband. Fax is essentially specialized phones and requires that a service composition is used at BOTH ends.
You can buy an analogue Fax/modem (USB types work well enough) or use a service to convert fax email...
-
The only InDesign that appears on my CC is the trial version, how to get back the previous version? It is not even in applications to find "additional" and "view previous versions"!
Follow these instructions carefully: How to find and install the previous Version of Adobe Apps in CC 2015 | Adobe Customer Care Team
-
Is there a quick way to view the pages in Safari, Firefox, Opera (not Live Preview)?
Currently no, but we have an element in our backlog in this research.
Randy
Maybe you are looking for
-
How to fix viruses and security vulnerabilities
My phone told me that there 13 holes to end security and maybe some virus
-
By clicking on the back arrow does not take me back to the previous screen, instead the screen remains current.
-
The use of data in the dialog box
Hello I started using DIAdem Dialog Editor and I wonder how I would use data that has been entered in a dialog box or table cell perform some calculations on it and display the results in another dialog box. I'd also be looking to retrieve data in a
-
update to Windows 7 Home premium 64-bit
I tried to update, which was automatic. Noah get the error 80246008, tried their solution about adding to hidden igons. Did not work. I tried Fix, he received the error 2203. Trouble shoot I tried could not fix. Lost!
-
I want my system to use MBR partitions not GPT. How?
I have a new laptop Alienware M18x R2 with Windows 8 Pro. My drive configuration is as follows: 1 x disc 1 TB of OS HARD drive. Set up as GPT. data disk HARD 1 x 1 TB drive. set up as GPT. mSATA 1 64GB SSD x used as a getting started disc caching