I Created a template form with some buttons ,textfields and dropdown fields. i kept saveas button if user clicks and saves the file as another name . i want to remove apprence of buttons and drop down buttons etcc.. i tried
dataroot.Transmittal_pdf.Button1::click - (JavaScript, client); save as button click
dataroot.Transmittal_pdf.Button1.presence="invisible";
dataroot.Transmittal_pdf.ResetButton1.presence="invisible";
dataroot.Transmittal_pdf.PrintButton1.presence="invisible";
dataroot.Transmittal_pdf.Project_Type.presence="invisible";
dataroot.Transmittal_pdf.Contract_Type.presence="invisible";
app.execMenuItem("SaveAs");
this one buttons are invisible in template not in saved copy
dataroot.Transmittal_pdf.Button1::click - (JavaScript, client); save as button click
dataroot.Transmittal_pdf.Button1.presence="hidden";
dataroot.Transmittal_pdf.ResetButton1.presence="hidden";
dataroot.Transmittal_pdf.PrintButton1.presence="hidden";
dataroot.Transmittal_pdf.Project_Type.presence="hidden";
dataroot.Transmittal_pdf.Contract_Type.presence="hidden";
app.execMenuItem("SaveAs");
with regards
prasad
Views
Replies
Total Likes
Hi,
Can you check that in the form properties you have the "preserve script changes to form when saved" is set to "Automatic".
to get to the setting it is File->Form Properties and then select the "Defaults" tab
Hope this helps
Malcolm
Views
Replies
Total Likes
Malcolm
it is worked for me for buttonms . but drop down arrow button still remained. please advice
with regards
prasad
Views
Replies
Total Likes
Hi,
Can you upload your file to a sharing site ( e.g. acrobat.com ...... ) and share it so that we can look at the file and see what is happening?
Regards
Malcolm
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies