Expand my Community achievements bar.

drop down field button problem

Avatar

Level 2

I have a template form and a save as button .

if user fills all fields and clicks save as button .

I want to display off drop down arrow button in the saved one. how can i do that one

1 Reply

Avatar

Level 4

Hello Prasad,

You can write the script to display off drop down arrow button when the saveAs button is clicked, by following three steps

1) First you write script in the Click event :-

  app.execMenuItem("SaveAs");

   Then you write the script in the mouseDown event:-

  if (xfa.event.name == "mouseDown")
   {
     DropDownList1.presence = "hidden";
   }   

2) Save as the form in dynamic mode

3) Then select  File> Form Properties> Defaults> then select "Automatically" from "preserve scripting changes to form when saved:".

Thanks,

Debadas.