alt

n/m found it here https://www.silverstripe.org/learn/lessons/v4/introduction-to-frontend-forms-1

Show 1 attachment(s)
silverstripe.org  
SilverStripe Lessons » Introduction to frontend forms

In this tutorial we're going to look at adding forms to the frontend of our website. We'll add a new feature that allows users to post comments on our articles.

Hide attachment content
alt

what's the best way to ensure that data is retained in a form if there is an error submitting?

CptPillow

I had this setting in while working on it

  1. SilverStripe\View\Requirements_Backend:
  2. combine_in_dev: true
MichalKleiner

yeah, and it might come down to what I was saying… the order matters for minification/uglification, which doesn’t happen when in dev mode

CptPillow

ive found with most normal sites I work on if the gallery isnt working its normally the order of the js requirements thats wrong. what caught me off guard was because it was working on my dev server and didnt work on my live one

MichalKleiner

and appreciate the follow up, I don’t usually expect that, I mean… I drop my ideas and suggestions here on folks and let them take them away… some feedback is useful though, mainly when things don’t help, so I know to consider it again 🙂