Level 6
Change the names of the other form.
Summer Sale! All accounts are 50% off this week.
With 2 forms on a page, the old() method on a form value field is not form specific. So if you attempt to change the data in one form and validation fails, it will populate the same named field in a totally different form on the page.
So lets say you have 2 forms that both have a field called email. When you update form 2's email field, and the data does not validate, it will populate BOTH forms with the invalid email data.
Please or to participate in this conversation.