VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Coding Central => Topic started by: pm4698 on October 16, 2014, 10:57:52 AM

Title: Use default value for new members
Post by: pm4698 on October 16, 2014, 10:57:52 AM
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.
Title: Re: Use default value for new members
Post by: GJC Web Design on October 16, 2014, 12:46:00 PM
where did you make this field? In the shopper fields admin?
Title: Re: Use default value for new members
Post by: pm4698 on October 16, 2014, 12:48:06 PM
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
Title: Re: Use default value for new members
Post by: GJC Web Design on October 16, 2014, 13:34:05 PM
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