Hi, Caridad,
Thanks for your code suggestion! In my case won't help as the users don't need to see these 2 links, it will confuse them.
So, the same conditional code in the edit form works just fine, but the problem is that the field used for the conditional logic ($field = '1' or $field = '2') has to be hidden and should not be editable. The value from the database should be taken and just populated, so the rest of the conditional logic can function.
I think I am becoming more clear now with your feedback.
I will simply put display: none; for this part of the code and see if I get the desired functionality for the edit form.
Please don't close the topic yet.
Thanks a lot!
Milena