How to set up a feedback form - php

I am trying to make a feedback form for a website. From what i have read i need a database and such. I was wondering if there is a way to do this without a database. I want the form to have a your name feild, a your e-mail field, and a your message field, i have tried lots of other feedback forms on the internet but none worked. I don't have a very good computer so i can't make a web server or a database all i have is the websites domain. Any help will be greatly appreciated. I want the message to be sent to my Hotmail account.

You need not have to complicate yourself. Just use google forms.
https://support.google.com/drive/answer/87809?hl=en
Create a form from your Drive:
Click the red Create button, then Form.
In the form template that opens, you can add any questions you'd like. You can also organize your form by adding headers and dividing your form into several
pages. Learn more about editing your form.
If you’d like those who
complete your form to see a progress bar indicating how much of your
form they’ve completed, check the box labeled “Show progress bar at
the bottom of form pages.”
Create a form from a Google spreadsheet:
While working with a spreadsheet, click the Insert menu and select Form.
A message will display at the top of the page notifying you that a new form has been created.
Click Add questions here to begin editing your form, or Dismiss to get rid of this message and continue editing your spreadsheet. (Note: If you dismiss this message, you can edit your form at any time by selecting the Form menu and clicking Edit form.)
After creating a form from a Google spreadsheet, you’ll notice a new tab at the bottom of your spreadsheet labeled “Form responses.” As you might have guessed, this is where responses to your form will be added.
You can also send a mail to yourself when you get any responses.

Related

Setting cookie through PHP when Contact Form 7 submited

I'm working on a landing page made with Bootstrap 4, Wordpress and Contact Form 7 plugin. In the page I have 4 buttons that when clicked show the same Contact Form 7 pop up form. I want them to:
Any of the 4 buttons clicked for the 1st time show the pop up with the form (already done).
When the form submited and any of the buttons clicked again (could be the same one) do not show the form, but start a download of PDF document.
I don't know how to design that better. I think that when the form is submited a cookie is set through PHP so I can check in each button if the form is done. Is it a good aproach? How should I set the cookie? Is there any other way?
The simple solution would be redirecting the user to the PDF right after the form submission - there is a simple guide on how yo can do it. That could enchance the UX, users wouldn't need to understand that they need to click the same button once again.
Also, it could be easier because you would obviously want to change something after the actual event of sending the data (no matter how you track it). For example, you will not only need to add teh URL to the PDF into the button, but change the text and maybe even the style of it to make it obvious to the user.
However if you'd like to make it complex way - you can try changing the link on the button of form submission or adding the download link (or "enabling" it), while disabling the submission button inside your form. Some examples on changing the link or showing/hiding contect can be found here and here - all using the jQuery, no extra PHP needed.

Contact Form auto save when typing in WordPress

I have 2 forms, both of them are divided in 2.
First time I ask for name, email, phone and company than I have 2 buttons continue and call me
Some of them may not click continue button so I need to get this details before they run away from the page.
I need the form to do an auto save when all fields are completed even if user is not submitting the form.
How can I do this with contact form 7 or formidable forms?
I'm open to new suggestions too, other plugins etc..
Thank you.
u can try this plugin contact form 7 AutoSaver ,
Select some forms to enable auto-save on them, meaning when a user fill the form, without even submitting it, then navigates to another page and comes back or refreshes the page, they will see the data they previously filled still available for them!
https://wordpress.org/plugins/cf7-autosaver/

Gravity Forms save progress and email link to continue

I have a requirement for a project that allows users to fill in a form partially and then save the progress until they have all the information they require to process the form.
The form is on one page only and our user do NOT register and they must not have to register even for saving progression.
What I need is a way to save a form with all the data a user has inputted and then email the user a URL (the email is captured in the form) which will allow them to continue the form at a later date.
I have very little experience with gravity forms so I am unsure if this is something I am able to do out of the box or if there is a plugin that will assist me.
Any help is much appreciated.
I believe 'Save & Continue' functionality is in the next Gravity Forms version core (1.9). I think beta is due to be released shortly...
According to my understanding of it, this should cover most of what you're looking for.
While I have no experience with it, here is a link to an add-on that claims to save form status:
https://github.com/soulseekah/Gravity-Forms-Saved-Forms-Addon
and here's another one:
http://wordpress.org/plugins/gravity-forms-data-persistence-add-on/
in fact, here's a link to the google search I did. There seems to be several solutions to save the progress of a filled out Gravity Form.
https://www.google.com/search?q=gravity%20form%20save%20progress

How to populate a multi page form if data has been entered or leave it empty if there is no current data?

Hi really hoping to get some help with a complex form issue.
I am building a real estate site where the agents will be able to log into an admin page and upload new houses that are for sale in an HTML form. I have a multi 3 page form that has Listing Info, More Listing Details and a Photo upload page. I have created these 3 pages and a nice css tab navigation to switch between the 3 pages. My issue is I would like the agent to be able to go back and forth between the 3 pages and have the data stay in the form. However if this is a brand new "Listing" then the form would be completely blank. I have the forms set up to submit through php and enter data in a mysql DB and then send you to the next page in the form.
The only way I can come up with is to have if statements that check session variables to see if a "listing_id" variable has been set. If it has it creates a form and fills in the blanks with the data from that pending "listing_id" if not it just creates a blank form. Is there an easier way to do this??? I would like to stick with PHP and HTML however simple JS would be ok too. Thanks for any incite anyone can give!
Whoa whoa whoa. Not sessions. No .. hell naw.
A very simple solution is to make it so the tabs are only visual. Don't throw away the HTML, just hide the container and show another. This way, when you go back, your data is still there.
I would save a cookie on their end with the data they have most recently put in and only clear the cookie once they have completed the form. Then you can use this data to fill the form.
For example,
Imagine the form data from their last inputs were separated by colons ":"
$prevform=$_COOKIE["lastform"]
$data=explode($prevform,":")
All the form data would be separated and reusable by setting the value of each input from $data[int]

view data from html form before submitting

i am really stuck here i have been trying and i am posting here hope some one will help me.
i have a html form where i enter my data and before submitting i need to view my data in the html form and if i need changes change it rt there and submit .
i am able to enter data and how do i display the data without submitting.
To preview your form data before posting you have two options basically: the first is to preview it by using JavaScript to dynamically open a new window and then show your data formatted as you want, the second is to post your data to your server and return a new page containing the data you posted but not yet being integrate to your database, this is a kind of confirmation page, whatever is the option there should be a confirmation button to accept or reject the submission and integration of the data in your database.
The second option requires you to create a new page on the server side for confirmation (preview), having all the power of your web server language.
In general, you have a Preview button and a Save (or Post) one.
The Preview button submits the data which is processed by the server-side script (interpreting markup language, or filtering HTML or other stuff) and converted to HTML, then sent back to the user along with the text field with the raw data.
Then the Save/Post button does the same, but saves the data to the database, and similarly output the HTML, without the text field.
A quite generic answer to a quite generic question...
The question that comes to my mind is how this preview would look different from the data entry page. I mean, if the user is supposed to enter, say, name, address, and favorite color, presumably that data is visible on the screen as they type it. What would a preview do? If you're talking about some sort of validation, like color must be on your list of approved colors or some such, then you have two basic choices: You could do the vaildation with JavaScript before sending to the server, or you could send to the server and let it do validation. I would point out that if you do client-side validation, you really should still validate on the server, esecially if there are security or hacking issues. You have no assurance that the data stream sent to your server really came from the page that you sent to the user. The user could create his own page to send data to your server.
The only other thing I can think of is a formatting preview, like here on Stack Overflow where what you type in may include codes that control format. In that case you might want to use Javascript to give immediate feedback, again, like is done here.
perhaps you can have two buttons one as a preview and one as submit so when u preview it sends the form value in a different page and displays it in a format you want.
The submit button will just do the submitting etc. what u plan to do .
hope that helps

Categories