| Author |
Message |
Wendell
Joined: Mar 24, 2004
Posts: 27
Status: Offline
|
  Posted:
Oct 05, 2004 - 03:33 AM |
|
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!!  |
|
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Oct 05, 2004 - 08:15 AM |
|
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 !
Administrator
PNConcept.com |
|
 |
 |
Wendell
Joined: Mar 24, 2004
Posts: 27
Status: Offline
|
  Posted:
Oct 05, 2004 - 03:59 PM |
|
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. |
|
|
|
 |
Chestnut
Site Admin
Joined: Oct 08, 2003
Posts: 1065
Location: Paris - France
|
  Posted:
Oct 05, 2004 - 10:58 PM |
|
I... think... I'm ....... beginning to see the paint.
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 ) |
_________________ Chestnut !
Administrator
PNConcept.com |
|
 |
 |
Wendell
Joined: Mar 24, 2004
Posts: 27
Status: Offline
|
  Posted:
Oct 08, 2004 - 02:29 AM |
|
Thank you, Chestnut, I will see what I can come up with.  |
|
|
|
 |
|
|
| |