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.
I am putting the user profile edit from in a modal using this cool module. Things seem to generally work but ajax based fields (like file/image upload) completely disappear when upload is finished.
Comments
Comment #2
liquidcms CreditAttribution: liquidcms commentedmy bad.. i was doing a form_later to remove fields i didn't want but this is hit twice in different ways.
1st time with std args as per the menu item created for the modal call
2nd time from within ajax call - the 2nd time the args are in different locations and this was causing my issue.
Comment #3
ugintl CreditAttribution: ugintl commentedAre you putting the complete page in a modal or the fields on the form?
Can you share your code?