Hey,
I'm trying to have a button on an edit form, which on click redirects to another edit form, using as RECORD ID one of the object value of the 1st form.
My button object is an input type button, with a JavaScript custom code:
onclick nuPopup('597603a58b48ffe',opportunite_contact_client);
The opportunite_contact_client is the object I'm trying to get the value from to directly enter in edit mode for the form 597603a58b48ffe with RECORD_ID = opportunite_contact_client. When I click on the button, nothing launches, nothing happens, it just freezes. Am I doing something wrong ?
Thanks
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.
Launch an edit form from a form based on one of the object
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
Launch an edit form from a form based on one of the object
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
Re: Launch an edit form from a form based on one of the obje
This should work:
Code: Select all
nuPopup('597603a58b48ffe',$('#opportunite_contact_client').val());
-
- Posts: 101
- Joined: Mon Mar 26, 2018 5:57 pm
Re: Launch an edit form from a form based on one of the obje
It works, perfect, thank you!
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