Home : Products : DBMan SQL : Discussion :

Products: DBMan SQL: Discussion: Re: [TheStone] change the data of registration: Edit Log

Here is the list of edits for this post
Re: [TheStone] change the data of registration
Hi Stone

sorry to bother you again. There are additional fields in my user table (besides of Name and Email). Some of them are "required" and some are "optional". Occasionally, users want to delete optional fields for some reason. That's why I've tried to update an optional field (e.g. phone number) with a zero value in the profile change form. But the content of this field has not been deleted in the database.

I think it would be possible to slightly alter the profile sub and the profile template. There could be different field names in the template: "req_" for required, "opt_" for optional. All optional fields should be deleted if there is a zero value and all required fields couldn't be deleted (just updated).

It would be wonderful if you could help me out with the modification of the profile subroutine.

Thanks and all the best
Oliver

Last edited by:

olivers: Mar 6, 2004, 10:57 AM

Edit Log: