News:

Support the VirtueMart project and become a member

Main Menu

Use default value for new members

Started by pm4698, October 16, 2014, 10:57:52 AM

Previous topic - Next topic

pm4698

Hello there

i have created a radio field and i have set as default value one value of my radio field options. I also use bit conditional plugin in order to show/hide some fields. My problem is that if someone registers, then it seems like this field does not have a selected value at all and user has to select the value he wants. I want each new user to have the default value at this radio field selected.

GJC Web Design

where did you make this field? In the shopper fields admin?
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

pm4698

Yes inside vm shopper fields i created a radio field called payment. I added 2 options with values invoice and receipt. Then at default value i entered the value receipt.

But if i register new user this field is not taking the default value, is blank

GJC Web Design

then in theory should work - but just tried and it doesn't

appears to be a bug

just tried with a select - this does respect the default
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