Is there a way to disabled the add instance button of a replicant through javascript? I want to control when an instance can be added regardless of the pre-defined min and max values.
hey... even i am looking for a similar behaviour , where i want that the users should not be able to add replicants using the add button. any pointers?Regards,Bhaskar
A possible scenario can be one where we use custom templates, meaning a DCR is used as a template. In that case, we wouldn't want replcant instances to added or deleted by the user, since it is a template now.
It's a discussion forum, so there should not be a problem.
If you don't want users to add replicants, don't define the container as a replicant. If you don't want users to add more than N instances of a replicant, define the max for the container to be N.If there is some other situation you are trying to handle, be precise in describing the details of the scenario.