Jump to content
Sign in to follow this  
PMXSD

preSaveTrigger in 2 files

Recommended Posts

Hello everybody,

I wrote a preSaveTrigger function in detail_chg.htmpl to make required some fields and that it's working fine. Also, I have a custom form associated to detail_chg.htmpl as a tab and also I need to make required some fields in that form but when I create a preSaveTrigger in that form for required fields, that code is not responding.

Take care that only I pressed the Save button in the detail_chg form and that save the information in my custom form located in the tab, but I am not totally sure if both preSaveTrigger function can be instance in the same moment (detail_chg and one form in the tab)

Can someone let me know, a way to implement it?

Thanks!!

Share this post


Link to post
Share on other sites

Hello.

I assume, that your custom page is just another tab page as all the others, right?

I assume also, that you are displaying chg attributes of the current change in your new form/tab, right?

If so, there should be only one preSaveTrigger function which has to do all the checks.

Regards

.......mikelm

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...