Hi Guys
I submitted a bug to SC bugs team, just good to know
when you have a link that passes a form field as a parameter, the link will work only when the field has a value.
if you open a form in edit mode, edit the filed, save and click on a button (with the link), ,the new value of the field will not be passed.
for the new value to work you need to close the form, open the edited record again and ta da, the link works.
by the way , if anyone knows how to access links from php let me know. the links are defined somewhere and make part of an application but we cannot use them in the code,