I have a form and it is working ... haleluja !
Now I wish to use the form on more than one site... And I was tinking of putting some vars in the setup under php like site_info

I thought I make a hidden field with {site_info[1]} to obtain the Site URL

The output array is:
IF (let me find out on what domain we are with php --> ? SERVER['HTTP_HOST'])
Site1 THEN url"www.site1.com" || email = "Ithink@site1.com" || sitename= "My Sitename.com";
Site2 THEN url"www.site2.com" || email = "Ithink@site2.com" || sitename= "My Sitename.com";
Site3 THEN url"www.site3.com" || email = "Ithink@site3.com" || sitename= "My Sitename.com";
------
second question include value in email is activated, but when I get the email the value is not in the email is it becausse it's a hidden field ? When I look in the array the IP_number is there / Datum_Aanvraag is there and Site_URL is there. But in the email the hidden fields are missing.
In the body of the email I use {AUTO_FIELDS}
Thanks for the help!
Cheers,
Deef
Now I wish to use the form on more than one site... And I was tinking of putting some vars in the setup under php like site_info

I thought I make a hidden field with {site_info[1]} to obtain the Site URL

The output array is:
Array ( [option] => com_chronoforms6 [cont] => manager [chronoform] => xxxxx-xxxxx [event] => submit [IP_number] => xxxxxxxxx [Datum_Aanvraag] => 16/03/2020 08:08:59 pm Europe/Brussels [Site_Url] => {site_info[1]}I am not having so much experience in PHP, but what I want to do at the end:
IF (let me find out on what domain we are with php --> ? SERVER['HTTP_HOST'])
Site1 THEN url"www.site1.com" || email = "Ithink@site1.com" || sitename= "My Sitename.com";
Site2 THEN url"www.site2.com" || email = "Ithink@site2.com" || sitename= "My Sitename.com";
Site3 THEN url"www.site3.com" || email = "Ithink@site3.com" || sitename= "My Sitename.com";
------
second question include value in email is activated, but when I get the email the value is not in the email is it becausse it's a hidden field ? When I look in the array the IP_number is there / Datum_Aanvraag is there and Site_URL is there. But in the email the hidden fields are missing.
In the body of the email I use {AUTO_FIELDS}
Thanks for the help!
Cheers,
Deef