News:

Support the VirtueMart project and become a member

Main Menu

How to insert values into hidden shopper field?

Started by OriyanJ, January 31, 2016, 15:43:55 PM

Previous topic - Next topic

OriyanJ

What I'm trying to do -
I've created a new shopper field which is hidden billing form. I'd like to know how when form is being submitted, I'd insert values from other inputs into that hidden field.

Example -
I have a hidden field, when I click "Register and checkout", all the data that was inserted into the shopper fields will then be stored in that hidden field as well with the rest of the process. So I could then extract it however I like in bulk. What I'm trying to achieve is far more complicated, but for now this task might help me solve much of my complications.

I should be an easy task to do, I'm just too newbish :)


VirtueMart 3.0.12
VirtueMart 3.2.2

GJC Web Design

Its not a VM question... this is a form handling question and if you google you will find many examples

would normally be done by JS, onsubmit of the form or onclick of the button do things (fill your field) . then submit

but surely if u need this data there is better ways (DB query, VM Models etc) to do it
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation