VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: prismalight on March 02, 2012, 17:12:42 PM

Title: Custom Shooper field in registration form
Post by: prismalight on March 02, 2012, 17:12:42 PM
I am using VM2.0N on Joomla 2.5.1 and discovered this bug.
I created a custom shopper field birthday and type date. At the back-end all looks nice. I get a nice button "never".
At the registration form it just show a textinput field pre-filled with "COM_VIRTUEMART_NEVER". When I click into the field the calender shows up and it works.
Title: Re: Custom Shooper field in registration form
Post by: adelrami on March 13, 2012, 16:09:27 PM
I got the same problem... help plz
Title: Re: Custom Shooper field in registration form
Post by: maxispin on March 13, 2012, 16:17:34 PM
<input type="date" value="COM_VIRTUEMART_NEVER" name="Test_text" class="datepicker" id="Test_field_text">

Means: default value for Custom Shopper field DATE


Solution:

Add into: ../language/fi-FI/fi-FI.com_virtuemart.ini   <- replace fi-FI with your language
COM_VIRTUEMART_NEVER=""
Title: Re: Custom Shooper field in registration form
Post by: jjk on March 13, 2012, 22:58:43 PM
Quote from: prismalight on March 02, 2012, 17:12:42 PM
...I created a custom shopper field birthday and type date. At the back-end all looks nice. I get a nice button "never".
At the registration form it just show a textinput field pre-filled with "COM_VIRTUEMART_NEVER". When I click into the field the calender shows up and it works.

The simple solution probably is to copy the key and string COM_VIRTUEMART_NEVER="-Never-" from the backend language file en-GB.com_virtuemart.ini to the frontend en-GB.com_virtuemart.ini or whatever language you are using.
Title: Re: Custom Shooper field in registration form
Post by: DaggaTora on June 29, 2012, 13:25:59 PM
Now with 2.0.7j it doesn't allow to pick a date making impossible to register if birthday is required.
Title: Re: Custom Shooper field in registration form
Post by: jjk on June 30, 2012, 00:45:24 AM
Should be fixed in 2.0.8
Title: Re: Custom Shooper field in registration form
Post by: DaggaTora on July 01, 2012, 12:28:56 PM
FIXED!!!

;D ;D ;D ;D ;D

but... how can I change Date Format?

I've tried:

https://forum.virtuemart.net/index.php?topic=94892.0 (https://forum.virtuemart.net/index.php?topic=94892.0)
https://forum.virtuemart.net/index.php?topic=90958.0 (https://forum.virtuemart.net/index.php?topic=90958.0)

with no results...
Title: Re: Custom Shooper field in registration form
Post by: DaggaTora on July 04, 2012, 19:57:14 PM
No idea about the date format?  :(
Title: Re: Custom Shooper field in registration form
Post by: Milbo on July 04, 2012, 20:17:20 PM
atm, I dont know my self.
Title: Re: Custom Shooper field in registration form
Post by: DaggaTora on July 05, 2012, 09:34:35 AM
 :o