Hey,
I would like to add a mailto function in a form.
So far I created a HTML object:
<a href="mailto:$email">Email</a>
How can I get the email value of the current RECORD ID? I guess I must use a PHP procedure? Or just Javascript? Or both?
In my database, the table is called contact and the field is called contact_email
Thanks in advance,
Marc
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
mailto in a form
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
mailto in a form
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
Re: mailto in a form
Indeed it's that simple ahah! Thanks
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23