The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl eAuction 1.6.1.x >> Start Up and more >> New fields and Change Registration Information https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1117216728 Message started by mars on 05/27/05 at 19:58:48 |
Title: New fields and Change Registration Information Post by mars on 05/27/05 at 19:58:48 I have successfully added some fields to the user registration form. The new field data gets written to the .dat files. The new user is able to bid (that presented a coding problem which I was able to finally overcome). However, I have spent a number of hours focused on the two sub routines: Sub: Change Registration Sub: Process Changed Registration trying to allow a user to be able to change their registration information, like their password, but have been unsuccessful. Depending on what I have tried the newly added fields either return an evaluation error or one that says I have to complete the first of the new fields. The only way I have been successful is to completely fill in all the 5 new fields even if I only want to change the password. The original registration form fields function just as they always have and I would like the additional 5 fields to function just as the Contact Information fields do ( that is, to be able to Leave blank if unchanged). I could use some help on this one please. If you want to take a look: http://www.marscafe.com/cgi-bin/eAuction161/eAuction.pl?action=creg〈=1 Thank you. mars |
Title: Re: New fields and Change Registration Information Post by Dieter Werner on 05/27/05 at 21:56:01 Let me see your code ... |
Title: Re: New fields and Change Registration Information Post by mars on 05/28/05 at 00:00:52 Dieter, Thank you for offering to look at the code, which follows. I am faily sure that my problem is in the handling of the evaluation logic...I just cannot see the way to handle it, but have tried using what is already there as a template of sorts. Could it be possible that other sub routines (like Sub: Display an Closed Item) also requires modification because of the additional fields in the Reg Form? Regards, mars Code:
|
Title: Re: New fields and Change Registration Information Post by Dieter Werner on 05/28/05 at 09:19:37 That's a bad thing ... - don't ask for cc-data if you don't run a SSL server - you don't use cc-data validation |
Title: Re: New fields and Change Registration Information Post by mars22 on 05/28/05 at 14:30:37 When it is auction time the people who will be invited to participate (from our company contact list and customers) will be directed to an eAuction161 directory which will be password protected (.htaccess) also. I am doing all of the testing and code modification on my personal website on a shared server, so therfore you see me logged in as mars22 (instead of mars) and the testing code that needs help is located at at: http://www.marscafe.com/cgi-bin/eAuction161/eAuction.pl?action=creg〈=1 I have done some research/reading on cc-data validation and know it is considered inmportant and will address it if I can get past this hurdle. I also understand you are a very busy person and cannot help everyone and appreciate all you have done so far. Regards, mars22 / mars |
Title: Re: New fields and Change Registration Information Post by Dieter Werner on 05/28/05 at 14:57:41 OK ... but this code can't work Code:
and this code will work: Code:
do you see the difference? BTW: you have to add the new fields to some other subroutines too. |
Title: Re: New fields and Change Registration Information Post by mars22 on 05/28/05 at 16:51:19 Dieter, Thank you very much and I am sorry to have bothered you for something that was just a "bad eyesight" problem and not really a coding issue. I did a quick test and seems all is OK. I have the new fields currently added to the following sub routines: Sub: Display Item Sub: Process New Item Sub: Process Bid Sub: New Registration Sub: Process Pre-Registration Sub: Change Registration Sub: Process Changed Registration Sub: Display an Closed Item Sub: Check User-Data We will be running the auction as a single user with only us permitted to post items for bidding. A donation will be sent next week when we return from our long Memorial Day holiday weekend. Regards again, mars/mars22 |
Title: Re: New fields and Change Registration Information Post by Dieter Werner on 05/28/05 at 17:22:04 You should add it to - sub close_items - sub clean_closed too :) |
The eAuction Support Forums » Powered by YaBB 2.2! YaBB © 2000-2007. All Rights Reserved. |