DNNCommunity / DNN.FormAndList

Design your own table complete with field types, validation and custom user permissions.
MIT License
28 stars 20 forks source link

Problem with email From and Replyto fields when creating an FnL form from a saved template. #107

Open webmogithub opened 8 months ago

webmogithub commented 8 months ago

Describe the bug

Problem with email fields when creating an FnL form from a saved template. DNN version 9.12, FnL version 6.5.5 When using FnL as a form from a saved template, the optional email settings for "From" and "Replyto" do not work correctly when there is one or more FnL forms on the same DNN instance. The second form will inherit the From and Replyto from the first form regardless of PortalID. You can reset it to something else, but you cannot clear it on the second form.

In this case, I created the second form using an FnL template created from the first form.

To Reproduce

Steps to reproduce the behavior:

  1. Add an FnL module to a page and set it up as a form to email results, enter values for the From and Replyto
  2. Save as a template
  3. Using that template, add a second FnL module to any other portal or page. Check the email settings.
  4. The email addresses from the first form are reproduced in the second form, and cannot be cleared. (they return)
  5. No error message given.

Expected behavior

I would expect the From and Replyto fields on the second form to remain cleared if I clear them.

Error log

Nothing shown in the error log.

Additional context

Problem does not exist if the FnL form is not created from a template.