Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #740243

    I want to use the enfold Form.

    Setuzp of 1 form:
    – name
    – topic
    – ….

    You will come from an entrypage and select there the company you wand to select. I will send the companyid via GET and want to change the “to Address” based on the Get paramenter.
    Can I hook that directly into the form, or need I pass the paramenter somehow until the form is send?

    Which hook can I use for that?



    Hi Stefan,

    Please feel free to request – or vote if already requested – such feature on Enfold feature request form.

    For time being, please consider using more advanced contact form plugins such as – https://wordpress.org/plugins/contact-form-7/. You can find documentation here – https://contactform7.com/docs/

    Best regards,


    or use the filters ‘avf_form_send’ for others that search for the hook.
    easy archivable.


    at the end, I used a little diffrent hook:

    function avia_change_mail_subject($to){
    	$toid = intval($_GET['fid']);
    	if ($toid != '0') { $to = array(get_post_meta($toid, 'email', true)); }
    	return $to;

    So I change based on a int variable the to adress. Topic can be closed.



    Glad you figured it out and thank you for sharing your solution!

    Best regards,

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Hook for Form "To Adress"’ is closed to new replies.