I have created one form using WFFM, and a sending mail on tap of submit button,
After click on submit button it display message "Thank you for filling in the form" and textbox is hidden after submission the form. and when I refresh website it ask me to repeat action.
How can I hide the form after submission?
Changing the Success Mode field to Redirect would certainly be a good workaround to your problem. A dedicated thank you page has the added benefit of being easier to goal track with 3rd party analytics tools like Google Analytics.
Related
The scenario
I have implemented social authentication similarly to described by Dimitri Gielisin hist post "Facebook, Google and Custom Authentication in the same Oracle APEX 18.1 app" (http://dgielis.blogspot.com/2018/06/facebook-google-and-custom.html)
The pertinent point is that there is a button which has the request 'APEX_AUTHENICATION=FACEBOOK' which logs the user in and also hard codes the page that the user is taken to.
It works great. (However if I have a login menu item which directs back to the same page - the user name isn't updated on the page.)
The Issue
Default behaviour is for apex to redirect users to the login page when they attempt to access a page which is not publicly available. After logging in the user is taken to the page hard coded page in the button (except for modal dialogues which just produce an invalid session error).
I'd love it if they could sign in and then continue to the page they need to go to. Is there some not extremely cumbersome ways of doing that? I thought of trying to saving the page number I want the user to go to into an application item and then having the button redirecting based on the application item- but while I was saving the page number the dynamic redirect in the button is not working...and I feel like I'm fighting the apex framework...
Is there a better way? If not can a button reference an item for the page number? I was trying &APP_ITEM. but that didn't seem to work...
(I"m using Apex 20.1)
I have a WFFM form, when I submit it to success and press back button on browser, the data still stay on the fields.
How I can clear or init form ?
I think that this not a problem of Sitecore or WFFM. Modern browsers implement back-forward cache. And I believe you will see same behavior on regular ASP.Net forms.
This happens due to browser don't actually refresh pages on back/forward buttons click.
To change this behavior you should add your custom JavaScript on page that will clear WFFM form fields. This topic could be useful.
I work on a file upload form with some additional data and want to have a cancel button.
My site is running on Django. I submit the form over the normal way with a submit button without Ajax but I show a progress bar of the upload with jQuery so I enter the submit event with jQuery to show the progress.
Is there a way to cancel this submission with jQuery or some other solution?
I solved this questions here:
How I can call the browser escape (esc) function
Thanks
As Far as i know Once, the Submit has reached the server there is nothing much you can do with it (the form).
Let's imagine I've made a simple form using the Web Forms for Marketers module 2.2 (for CMS 6.4), and have set this up to use a 'success page' (server side redirect to a specified sitecore item). This works great.
Now it turns out that the thank you page needs to show certain field variables from the form which was just submitted.
"Dear x, thank you for your interest in Y".
On the success page, it seems like there is no way to retrieve the information (server-side) I need to show this information.
What would be a good way to approach this problem?
Is there a way to hook into sitecore webforms before the page is redirected to the success page (so I can pass along an orderId, for example)?
You can create a custom action which will give you access to all the forms data. From the action you can redirect the user to the appropriate place. You can find documentation on how to create a custom action in the reference guide on page 42.
Make sure your action is always after Save To Database because otherwise the data won't be saved.
I want to POST a form manually using urllib and redirect the user to that page as if he had clicked the submit button in a web browser.
The reason I'm doing this is because before submitting a payment to paypal, I need to store some information into the DB. Then I want to handle the user to the paypal website without having him to click again in a "Buy now" button.
I'm using Django, if this matters somehow.
is this possible? thanks
This tool might help you: http://wwwsearch.sourceforge.net/mechanize/