[Skip to main content](#vessel-content)

#   Save contact form with extra fields to database

##

- **[TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")**
- [![TheBeacon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30945-thebeacon "View TheBeacon's Profile") Topic Author
- [ Offline](/forum/user/30945-thebeacon)

Less More

- Posts: 28
- Thank you received: 1
-
-

11 years 3 months ago -  11 years 3 months ago [\#208953](#208953) by [TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")  *[Save contact form with extra fields to database](/forum/25-install-update/878283-save-contact-form-with-extra-fields-to-database#208953 "-- url of the page with the problem -- :   zinkcalls.com  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  We would like to have our product contact form saved to a database table, so that we can then display that data using Fabrik in the back end. I looked at contact view and did not see a reference to the specific handler for the contact form. If someone else has done this in the past i would appreciate some guidance on how to accomplish this.  Additional info: We are using the contact form as a separate mechanism for handling pre-orders. ie: if that particular product has the form turned on, the user can enter their payment and shipping information separate from normal checkout process. In an ideal wold, the custom field that collects the cc# in this form would only email the last 4 digits but store the entire number in the database with some sort of encryption that could then be decrypted by Fabrik.  Any suggestions/assistance would be helpful. As the ability to save a contact form to database is pretty much present in every form building component, this would be a great new feature for hikashop as well.  &#42;&#42;&#42; Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. &#42;&#42;&#42;")* was created by *[TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")*

-- url of the page with the problem -- : [ zinkcalls.com](http://zinkcalls.com)
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

We would like to have our product contact form saved to a database table, so that we can then display that data using Fabrik in the back end. I looked at contact view and did not see a reference to the specific handler for the contact form. If someone else has done this in the past i would appreciate some guidance on how to accomplish this.

Additional info:
We are using the contact form as a separate mechanism for handling pre-orders. ie: if that particular product has the form turned on, the user can enter their payment and shipping information separate from normal checkout process. In an ideal wold, the custom field that collects the cc# in this form would only email the last 4 digits but store the entire number in the database with some sort of encryption that could then be decrypted by Fabrik.

Any suggestions/assistance would be helpful. As the ability to save a contact form to database is pretty much present in every form building component, this would be a great new feature for hikashop as well.

*** Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. ***

Last edit: 11 years 3 months ago by [TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile"). Reason: *** Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. ***

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3ODI4My1zYXZlLWNvbnRhY3QtZm9ybS13aXRoLWV4dHJhLWZpZWxkcy10by1kYXRhYmFzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

11 years 3 months ago [\#208984](#208984) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Save contact form with extra fields to database](/forum/25-install-update/878283-save-contact-form-with-extra-fields-to-database#208984 "-- url of the page with the problem -- :   zinkcalls.com  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  We would like to have our product contact form saved to a database table, so that we can then display that data using Fabrik in the back end. I looked at contact view and did not see a reference to the specific handler for the contact form. If someone else has done this in the past i would appreciate some guidance on how to accomplish this.  Additional info: We are using the contact form as a separate mechanism for handling pre-orders. ie: if that particular product has the form turned on, the user can enter their payment and shipping information separate from normal checkout process. In an ideal wold, the custom field that collects the cc# in this form would only email the last 4 digits but store the entire number in the database with some sort of encryption that could then be decrypted by Fabrik.  Any suggestions/assistance would be helpful. As the ability to save a contact form to database is pretty much present in every form building component, this would be a great new feature for hikashop as well.  &#42;&#42;&#42; Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. &#42;&#42;&#42;")*

Hi,

Next version of HikaShop will have a plugin to have all the emails sent by HikaShop stored in the database, including the contact notification emails, which will contain the values of the custom contact fields.
So that would need your primary need to storing the contact form data in the database and being able to review them in your backend.

Regarding the credit card storage, I guess that a small customization of the plugin storing the contact email would allow you to cut the credit card number in two and keep half in the email that is sent and the other half in the copy that is stored in the database.

Note however that the next release is scheduled for September. If you need something before, then that would require the development of a custom plugin to store the contact data in the database.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3ODI4My1zYXZlLWNvbnRhY3QtZm9ybS13aXRoLWV4dHJhLWZpZWxkcy10by1kYXRhYmFzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")**
- [![TheBeacon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30945-thebeacon "View TheBeacon's Profile") Topic Author
- [ Offline](/forum/user/30945-thebeacon)

Less More

- Posts: 28
- Thank you received: 1
-
-

11 years 3 months ago [\#209203](#209203) by [TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")  Replied by *[TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")* on topic *[Save contact form with extra fields to database](/forum/25-install-update/878283-save-contact-form-with-extra-fields-to-database#209203 "-- url of the page with the problem -- :   zinkcalls.com  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  We would like to have our product contact form saved to a database table, so that we can then display that data using Fabrik in the back end. I looked at contact view and did not see a reference to the specific handler for the contact form. If someone else has done this in the past i would appreciate some guidance on how to accomplish this.  Additional info: We are using the contact form as a separate mechanism for handling pre-orders. ie: if that particular product has the form turned on, the user can enter their payment and shipping information separate from normal checkout process. In an ideal wold, the custom field that collects the cc# in this form would only email the last 4 digits but store the entire number in the database with some sort of encryption that could then be decrypted by Fabrik.  Any suggestions/assistance would be helpful. As the ability to save a contact form to database is pretty much present in every form building component, this would be a great new feature for hikashop as well.  &#42;&#42;&#42; Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. &#42;&#42;&#42;")*

Well then, I'll just negotiate with my people to wait for the next update. ![:)](/media/kunena/emoticons/8.png ":)")

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3ODI4My1zYXZlLWNvbnRhY3QtZm9ybS13aXRoLWV4dHJhLWZpZWxkcy10by1kYXRhYmFzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.166 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
