Repopulating forms

I while ago I was stuck for quite a while trying to figure out why my form wasn’t being repopulated after an error occured.

What I forgot was that if there is more than 1 form on the page you must specify the forms name in the validation file.

fillin:
  enabled: true
  param:
    name: my_form

Even though this is well documented it can be easily missed. I found the most common situation is when every page has a search form at the top which you forget about.

Tags: , ,

No comments yet.

Leave a Reply