Forum Index   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
WendellOffline



Joined: Mar 24, 2004
Posts: 27

Status: Offline
Post   Posted: Oct 05, 2004 - 03:33 AM Reply with quote Back to top

I'm really struggling here, hoping for some advice.

I am using pncUserHack to create DUD fields in the database. When a user registers for the first time, I want them to be able to fill out SOME of the fields, but not all. I then have a form created in FormExpress which stores data to the DUD fields in the database. However, if I disable or delete DUD fields using the pncUserHack, I assume that FormExpress cannot store data to those fields.

Any thoughts on how I might accomplish this? Thank you!! Smile
View user's profile Send private message Visit poster's website
Chestnut
Site Admin


Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
Post   Posted: Oct 05, 2004 - 08:15 AM Reply with quote Back to top

I'm missing a little something in your question...

Putting the FormExpress aside, if you want your users to fill some of the fields, the solution would probably be to make those fields "required" so that in the original form, only those "required" fields shows up.

?

_________________
Chestnut ! Cool
Administrator
PNConcept.com
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
WendellOffline



Joined: Mar 24, 2004
Posts: 27

Status: Offline
Post   Posted: Oct 05, 2004 - 03:59 PM Reply with quote Back to top

Well, I created several DUD fields for the sake of a FormExpress form. The FE form stores data in the created DUD fields. If I removed the DUD fields in the DUD admin area, then I assume they are removed from the database, thereby crippling FE's ability to store data to those fields. So I want new registrants to see only some of the DUD fields when signing up, but I don't want them all to be required. Then, when (and if) they later fill out the FE form, those "hidden" DUD fields would be filled. I hope this makes more sense, I'm having trouble explaining it.
View user's profile Send private message Visit poster's website
Chestnut
Site Admin


Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
Post   Posted: Oct 05, 2004 - 10:58 PM Reply with quote Back to top

I... think... I'm ....... beginning to see the paint. Smile

ButI don't see many solution I admit. One way is that if you can decide in your FE that a specific field is shown if the user is logged in... then.. MAYBE there would be a chance for that.

Example :
Code:

if (pnUserLoggedIn()) {

    // Do not show Extra Fields

} else {

    // Show the Extras...

}


As I'm TOTALLY ignorant of FE since I never (yea yea I know, I'm a bum) tried it, I really don't know the extents of its possibilities.

Even if I still have some hard time grasping it all your idea, some of it might be possible with the future 0.8 as everything will be in templates with the Smarty possibilities (without thinking about FE). But still... in some way, it might not also.

Go figure....... (I'll have to try that damn FE one day or another I guess Laughing )

_________________
Chestnut ! Cool
Administrator
PNConcept.com
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
WendellOffline



Joined: Mar 24, 2004
Posts: 27

Status: Offline
Post   Posted: Oct 08, 2004 - 02:29 AM Reply with quote Back to top

Thank you, Chestnut, I will see what I can come up with. Very Happy
View user's profile Send private message Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits
DarkMindZ