• Resolved gaet

    (@gaet)


    Hey,

    I’ld like to get all required fields in the af/form/validate filter.
    Have u an idea to do this ?

    Thx

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    An array of all submitted fields is available like this: AF()->submission['fields']. You can iterate over those and check if their required attribute is true. ??

    I hope that helps!

    Thread Starter gaet

    (@gaet)

    Perfect, thank u !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get all required fields’ is closed to new replies.