Search the Community
Showing results for tags 'form submit'.
-
Hey Guys, I've been working with Processwire for a while now but mostly only showed the content that was set in the back-end of Processwire by the site admin. Now I would like to store information but I find it hard to figure out where to start. The problem is dat Processwire uses PHP to get and set new values, which is only a server side language. What i want to do is have variables set bases on user behavior. The Case: I'm building a really small site that sells two items. A have a product page where people can insert a quantity of the item in a form input field and than click add to cart. http://www.hayplaybag.com/producten However I have no clue how to convert that information into say, a global variable or a field on the checkout page so that I could read it again on the shopping cart page and present the amount they ordered. How would you guys go about doing such things? I would love to hear your thoughts Thanks! Bram
- 6 replies
-
- variables
- user action
-
(and 1 more)
Tagged with:
-
Hi, I'm about to start developing a website in Processwire but did a bit of research and could'nt find any way to create a form with confirmation message loaded by AJAX when a form is submitted + validated. Is that possible? I think of something similar to Contact Form 7 for WP (when the visitor submits the form it should get validated and if every field validates and email gets sent the visitor gets a message like "Thank you for your message!" without page reload). Is that possible to do this in Processwire or anything thats on the Feature list? From what i can understand theres three modules (Form builder, Form Template Processor and Mailer and Simple Contact Form) that can create forms and also a API-function to call and create the form manually. Is there any of the above which supports ajax submit with "Thank you"-message on the same page without reloading the page on submit? Seems pretty basic, but maybe i've missed something. Thank you!