I have a page in my PowerApp that has two fields and two buttons.
The fields allow the user to enter an email address and the other field asks for an email message.
The first button is a Send button and sends an email based on the information entered in the two fields.
The second button is a Back button that clears the data entered in the fields and sends the user to the previous page.
Everything works beautifully the first 5 times I use this page in a session. After that, the Send button stops working. I believe that manually clearing the user's cache resolves the issue. How can I prevent the issue in the first place?
Send button OnSelect:
Mail.SendEmailV3(
EmailAddressSurveySend,
Concatenate(
User().FullName,
" has sent a survey for your review"
),
Concatenate(
EmailMessage.Text,
"<br/> <br/> Click on link to view survey: <a href=""",
url,
""">",
url,
"</a>"
),
true
);
Set(
EmailStatus,
"Your Message Has Been Sent"
)
Back button OnSelect:
Set(EmailStatus,"");Set(EmailAddress,"");Set(EmailMessageText,"");Back(Fade)

Report
All responses (
Answers (