(note: OP updated with better info)
Goal: I have a hidden field. I want the user to enter a value when they register - but I don't want it to be visible when they view their account.
This is not currently possible with profile module. If the field is hidden, it will never be seen on the registration form. IMO, there is no good reason for this, I can already hide the field if I have to.
This patch displays an invisible profile field on registration. IE. if it is flagged as "visible in registration form" then we assume that this is an override option. My patch removes code - which is great if indeed my logic is right.
The risk is existing sites which currently have "visible in registration" on hidden fields (which currently makes no difference). So I wonder if the upgrade path needs to force this setting to false on hidden fields...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | profile_view_registration.patch | 924 bytes | sime |
| #1 | profile_view.patch | 879 bytes | sime |
| show_on_register.patch | 812 bytes | sime |
Comments
Comment #1
simeupdated patch
Comment #2
simeupdated patch
Comment #3
moshe weitzman commentedmakes sense. works as advertised.
Comment #4
pwolanin commentedneeds to be re-rolled for 6.x
Comment #5
panchoCool idea, but as a new feature it needs to be moved to the D7 queue...
Comment #6
Jaza commentedMakes sense. Also still needed, since (unfortunately) profile module RIP didn't happen in D7.
Comment #7
damien tournoud commentedThe profile module is obsolete. Won't fix.