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!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only 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