• Resolved Jan Lucas

    (@jb_walton)


    Hi All,

    I discovered Pods framework recently. Coming from Joomla, with Fabrik for Application development, I guess Pods framework is the best way to go.

    My goal:
    Create a application to change table.
    Configuration:
    One table Customer, including fields (One field is “check-code”).

    The application should be:

    1. Open page with one field: check-code. And of coarse a submit-button.
    2. User fills his code
    3. System checks whether submitted code is found in one of the items in taqble Customer.
    4. If found, goto next page with a form to change the particular item fields and should be submitted to database.
    5. Off coarse: Thank you page
    6. If not found: error message displayed (“code not found”).

    Could this be achieved with the pods framework?

    Kind regards,
    Jan

    https://www.ads-software.com/plugins/pods/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Josh Pollock

    (@shelob9)

    Yes this is all doable using Pods Form. We have a filter that you can use to check the value of the fields before the form is run. Take a look at the last line of the form method in the pods class (currently line 3295 in https://github.com/pods-framework/pods/blob/2.x/classes/Pods.php ). You should be able to address that using apply_filters( 'pods_pods_form', 'callback', 10, 7 );. In the callback use the parameter $fields to find the value of the field being submitted that you need to test.

    Thread Starter Jan Lucas

    (@jb_walton)

    Hi Josh,

    Thanks very much for your answer.

    I looked at the code yoo mentioned and that perhaps could do the thing.
    Actually, I am looking for a solution for my multi-step application.
    And I cannot find it.

    After diving into the code, I have to conclude for myself that Pods is ” a bridge too far ” for me.
    Using this framework is extremely powerful, but for me the documentation is too technical.

    Basic usage of pods is great, but customization in the way I wanted it is not for me I guess.

    Thanks a lot,
    Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two page form’ is closed to new replies.