graphicore Posted February 5, 2007 Posted February 5, 2007 Hi... I need some help.... How can I invalidate or pre populate the fields in the code in create_account.php so it does not require this fields when content is only downloadable: Your Street Address must contain a minimum of 5 characters. Your Post Code must contain a minimum of 4 characters. Your City must contain a minimum of 3 characters. You must select a country from the Countries pull down menu. Your State must contain a minimum of 2 characters. Your Telephone Number must contain a minimum of 3 characters. I tryed to add the data manually like: <input TYPE="hidden" VALUE="Not Needed" NAME="street_address">; But it doesn't seem to work... Any help please?????
graphicore Posted February 5, 2007 Author Posted February 5, 2007 Just to let everyone than can help know... I installed Purchase without account contribution. And so far it's working Ok. The issue here is that it makes no sense to have the customer enter shipping information when the content is going to be delivered via email. I got an IF condition set... But I do not know how to prepopulate the fields, so that after beeing hidden (The user do not see this fields) the field errors do not pop when the content is only downloadable when they hit continue. I basically just need to know how to populate the fields manually on the Create_Account.php file.
graphicore Posted February 8, 2007 Author Posted February 8, 2007 If anyone is looking on this solution then check my contributions. I released a fix.
Micke Posted September 14, 2007 Posted September 14, 2007 If anyone is looking on this solution then check my contributions. I released a fix. Hi! I've installed the 8 feb 2007 fix of PWA. The fields that are required pops up after validation as in post#1 above. What's the soluton? What have I missed? //Micke
Recommended Posts
Archived
This topic is now archived and is closed to further replies.