Page 1 of 1

Launch an edit form from a form based on one of the object

Posted: Mon May 28, 2018 12:12 pm
by marcvander
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

Re: Launch an edit form from a form based on one of the obje

Posted: Mon May 28, 2018 12:29 pm
by toms
This should work:

Code: Select all

nuPopup('597603a58b48ffe',$('#opportunite_contact_client').val());

Re: Launch an edit form from a form based on one of the obje

Posted: Mon May 28, 2018 2:14 pm
by marcvander
It works, perfect, thank you!

Re: Launch an edit form from a form based on one of the obje

Posted: Sat Jun 02, 2018 4:56 am
by admin
.