Gravity Forms - Don't Save Field Data on Databse [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
My client wants to collect personal information through email but not have that info saved on the database. I'm using the Wordpress Gravity Forms plugin. Is there a way to have that info sent out through the email notification like normal, but then clear out the data before saving the entry to the database? Or at the very least, could that data be replaced with alternate content? Thanks!

You will need to learn Gravity Forms a bit, but one possible way to accomplish this is to use the hook: gform_after_submission. You can add a form ID to the hook name if you are targeting a particular form.
In your function, you can remove the field(s) that you don't want to keep in the database.
For more info on the after submission hook:
http://www.gravityhelp.com/documentation/page/Gform_after_submission
For info on all hooks available to you:
http://www.gravityhelp.com/documentation/page/Developer_Docs#Hooks_and_Filters

Related

add multiple PDF files to wordpress post or page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I need some help with wordpress, I'm not too experienced with it, and I need to add multiple pdf to the post/page edit screen back-end and display then the added files on the front-end to let the user download them. I've found this article but I'm not sure if this is the way to follow, I will not know the labels and I'm not sure if inside a custom metabox is possible to create dynamic fields (add more fields like label and file if needed). I don't want to use a bloated plugin, how I can proceed?
The easiest way to do this is upload the PDF using the media uploader and then linking them in the frontend while creating a post.
A simple sample at - https://www.wpmadesimple.org/supplementary-guides/adding-pdf-documents/
Let me know if you need more help. This is without a plugin, though there might be more solutions like CPT/Plugins but that is based on your needs.

Dynamic form CodeIgniter, Attribute Form in Database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want ask something about Code Igniter Dynamic Form.
I want to make a Form. Every tag like input, text area, etc, and attribute like id, class, etc of that Form stored in database. No hard code in html/php. Only fetch the attribute and tag from database, the Controller will load from database and send to View. And automatically will display the Form like what I saved in database.
In this case, the future of this form will be increased or reduced without need to hard coding by the developer.
Anyone can tell me how to make like that. And give reference link to me, so i can learn it.
Looking at this github project may help you to get the idea
Generate a form from a DB table

Store in the database from twig Symfony 2 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I would like to now if there is a way to store in my database somes values displayed on twig ? the values was calculated with javascript/jason, and i dont want to do the same script on symfony or php ...
Thank you !
Like any other interaction with the client you must :
send a request to your symfony application
make a controller that can work on this request
make this controller store the data you sent within the request
For that two possibilities :
Use XHR to let Javascript send this request
Use javascript to fill a HTML form and let the user submit this form

How to create a simple checkout flow for mobile app and update it in the mysql database? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i am building an ecommerce app for my website. This is the first time i am developing an app. As of now i am making use of phone gap to do the work for me. But i am stuck at this particular place, i have made the cart and it is working fine and i have made the checkout form also separately. But i don't know how to pass the product information from the cart to the checkout flow and then update it in the database. As of now i am sending the product parameters through the url but i know it is not safe. and i make use of
location.search.string(1)
to get all product parameter from the cart and then attach these to the form data and send it to the php file and from there i add it to the database. Again in the database i am having another problem. I am maintaining two different table, one for the orde information and the other for products. But here the problem is i don't know how to link the two table i.e when a new order is created an order id is assigned to it, now i don't know how to get that order id and use that order id to update the product information in product table. So can some one help me out with these two problems.
I am using jquery and html to create the app and php and mysql for the server side.
thanks in advance.

Preserving text formatting for dynamic website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am facing a problem while creating a dynamic website. I am building it for some pharma company, which have many products. The problem is, every product have different sections of description, and have to be formatted differently. I wanted to store all the product descriptions in the database, but at the same time preserve the formatting of each description. I also plan to provide an admin interface, where they could edit the product information themselves.
I could use Joomla or any other CMS for that purpose, but i wanted to know if i want to build such a system of my own, where i could format the text in an editor and them save that thing into database and when i retrieve it, i get the same formatting. How could i do this?
Also i wanted to do this in PHP.
Thanks
-- Mohit
Just use a WYSIWYG editor like ckEditor or TinyMce. That will handle the text formatting.. then you jsut store in your database.

Categories