Hello, I need to keep the "edit mode" in the detail_cnt.htmpl form after saving a contact and then redirects to the "Notifications" tab included in detail_cnt form.
Thanks in advance!
While I do not think what you are asking for is possible, or even feasible, I think there's a simpler alternative. What if you made one of the Notifications tab fields required to save the Contact? That way if the end user tries to save, it should theoretically alert the user to the tab and expose the tab and the required field?
Why you would need to do this? Make sure some fields in notification tab are filled out before save and leave the detail_cnt.htmpl page? If this is the case, why not make those fields/attributes required in schema? Just my 2 cents.
I agree with the suggestions made by David-Ng and Chi_Chen - make the fields mandatory/required.
Hello, Paul_Coccimiglio & Chi_Chen sorry for not answering before!!!
I need that behavior because the "Notifications Methods" combo box filter according to the value selected in "Tenant" field while I'm creating a contact. So, the solution I think can work it's saving the contact with the tenant value and then reload the form in edit mode so that the "Notifications Methods" combo box filter with the values I need.
Thanks and best regards.
Hi Ana.Blanco ,
you can add to detail_cnt.htmpl this:
<PDM_IF "$args.id" == "0"> </script> <input type=HIDDEN name="STAY_EDIT" value="1"> <script></PDM_IF>
I will try what you suggest.
Retrieving data ...