• Resolved vincentroussillat

    (@vincentroussillat)


    Hello

    Using “calculate age” plugin, I’ve been able to set my own plugin to calculate a specific field in my database, in the list and admin form.

    I would like to calculate and store this field value also after a form is filled in the signup page. This field is not present in the signup form, but its value is calculated from field present in the signup form.

    Should I just add a filter and/or an action handler in my plugin ?
    I have in my current version :

        add_filter( 'pdb-before_display_form_element', array($this, 'set_cotisation_display'), 10, 2 );
        add_action( 'pdb-form_element_build_text-line', array( $this, 'set_cotisation_value' ) );

    If so, which filter and/or action handler should I add ?

    Regards, Vincent

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Calculating value and storing them after signup submit’ is closed to new replies.