1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

"Back" button does not redirect to list after failed validation

Discussion in 'Community' started by juuser, Dec 2, 2019 at 1:11 PM.

  1. juuser

    juuser Member

    Level: Community
    Hi,

    Like the title says, when form validation fails and user decides to cancel the process, "Back" button does not take the user to the list view anymore (probably because the button has a link something like "window.location = document.referrer").

    Didn't come up with any workaround myself. Custom link in form "Back" button would be nice :)
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Do you mean the "Back" button in the form or the browser back?
     
  3. juuser

    juuser Member

    Level: Community
    I mean the form Back button.
     
  4. martha

    martha New Member

    Level: Community
    Please checkout the path in the back button if it is empty than the back button will not work.
     
  5. juuser

    juuser Member

    Level: Community
    Hi Martha! The button redirects to the previous page, but when the validation fails, "previous page" is the same form view, not the list view anymore (if record added from the list views add-button).
     

Share This Page