DNNCommunity / DNNCommunity/DNN.FormAndList

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

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
27
Forks
20
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.