I am having a hidden Item whose value is some default constant .This item is not visible when I am viewing the DCT on click of " New Form Entry" .
Now if I open the .DCR file ,it shows the hidden field as well .I want this field to be invisible even after save ,i.e on view of .DCR file.
Hi all ,Using TS 6.5 on Win2003 SP1.I am having a hidden Item whose value is some default constant .This item is not visible when I am viewing the DCT on click of " New Form Entry" . Now I enter the data in the fields in the DCT and save the dcr. Now if I open the .DCR file ,it shows the hidden field as well .I want this field to be invisible even after save ,i.e on view of .DCR file.any pointer on this would be highly appreciated.RegardsJitendra Singh
Jitendra,Two queries for you:1. Are you using formAPI script or {/hidden} element to make the field hidden.2. TO view the DCR after save, what link you have clicked to do the same? Is it over the DCR name or the Edit link?To make you understand, click New Form Entry... would open the form as in EDIT mode... which executes the formAPI scripts.If you are using formAPI script and clicking on DCR name to (re)view the content, then the field item would be visible.
Hi ,Thanks for your quick response.Moving forward to your queries.1. I am using formAPI script to make field hidden .I am having the java script function where i am setting the field ( setVisible to false).2. To veiw the dcr after save .When I click over the DCR link then I can view the hidden Item.This is what i do not want.whereas when I click Edit link the item is still invisible.below is the code i am using where the Item = "callElement " is the hidden element.