Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.September 30, 2019 at 7:33 pm in reply to: Enfold form submits but form hidden on success page #1143479
Thanks for hanging in there with me Ismael.
I figured it out by looking at the sample contact form using the template’s frame advanced editor.
Previous I had copied the HTML code from a form in the demo including all the css variables over into a new template page.
I found that add the variable “data-avia-redirect=[success-page]” to the form element allowed me to redirect the page to where I wanted.
Hope this helps others use the form styling of the theme in custom template pages.All best,
Adam
September 28, 2019 at 2:28 pm in reply to: Enfold form submits but form hidden on success page #1143001Thank you Ismael. Sorry for delay in getting back to this. I am using the form framework in a new template file. I am not using the advance editor to configure the form. And the form submits to itself with different blocks displaying based on form values. If form submit value formname=”update” then it runs mysql query and then displays contact record default page. Now it updates but does not do anything else.
What can I put into code to get to do this.
AdamSeptember 28, 2019 at 2:20 pm in reply to: Enfold form submits but form hidden on success page #1142999I think this is same issue. If your look at source code of success page you will see the form display setting as hidden. My form updates a record which does happen.
September 20, 2019 at 4:15 pm in reply to: Enfold form submits but form hidden on success page #1140241Hi Basilis,
Here is form with dummy data
https://beta.chmse.com/test-customer-update-page/ and click edit.
So, again, the form submits, records the change in the first name field, but does not redirect back to the main profile page.
Form action is <?php echo $url; ?>/test-customer-update-page/
AdamSeptember 16, 2019 at 2:53 pm in reply to: Enfold form submits but form hidden on success page #1138831Currently it is only on my development server.
I can try to get it up onto a publicly accessible URL later this week.
Adam -
AuthorPosts