Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm wondering if anyone knows if this is possible... I want one of my fields to be entered by a user, but after the user submits the form, I'd like the field (and its entry) to be hidden from the Submission. I'd still like it to be submitted as part of the initial submission, but would like it hidden from future viewing.
Reasoning... this field will contain sensitive data that only needs to be collected once. To avoid security issues down the road, it would be best if this field "disappears" after the initial submission.
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedI would override the theme function for display (rather than as a form) to now show it, based upon the form_key. Exactly now is custom programming support, which is beyond the scope of this forum. Good luck.