Ticket #656 (new enhancement)

Opened 11 months ago

Last modified 3 months ago

Add option to FPF to insert generic "an error has occured" message to forms that failed validation

Reported by: david Owned by: david
Priority: normal Milestone: 1.2
Component: filter Version:
Severity: minor Keywords:
Cc: Patch attached: no

Description

Don't forget to support i18n

Attachments

Change History

Changed 11 months ago by david

  • priority changed from low to normal

Changed 7 months ago by david

  • has_patch unset

Or maybe it just runs a slot that then displays stuff or whatever? :)

Changed 3 months ago by david

  • milestone changed from 1.0 to 1.2

Moving to 1.2. Current plan:

  • XPath based like ((multi_)?field)?error_messages
  • value is two params "module" and "action", pointing to an action to run as a container
  • this container then outputs the data
  • it gets passed error info, module and action names etc
  • that way, you can build generic and concrete errors using a targets fallback structure in layouts... simply have a MyActionErrorInfo.fragment.php in the templates dir etc, done, works, otherwise, it shows a default "operation could not be completed, please check the error messages below" template...

Add/Change #656 (Add option to FPF to insert generic "an error has occured" message to forms that failed validation)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.