Hello Chomp,You can not divide by zero, so you need to add code to only allow the division when you have a non-zero divisor.So for this script Sum(60/file_p_h), you have check wheather file_p_h is non-zero.if(file_p_h ne 0) then Sum(60/file_p_h) endifThanks,Debadas.
Hello Chomp,In your script you should give a space between then and Sum as follows:“if(cost_p_h ne 0) then Sum(60/file_p_h) endif”Hope,this will help you.Thanks,Debadas.
Hello,In my form I have an images say img1.I want to display img1 after 5 seconds of clicking a button present in my form.Is there any way to solve my problem.Thanks ,Deb
Hello Tony,can you please elaborate your doubt, means would you like to make a field zero as the starting character.please give a clear example.Thanks,Debadas
Hello,Try this. First make sure your form is saved as a dynamic for so it can change as you add or subtract data or elements to the document. Next make sure the sub form is set to repeat for each data item. You do this by selecting the sub form and selecting the Binding tab in the Object pallet and ...
Hello MDawn,You can write the following script in the "postSubmit" event of the Email buttonapp.execMenuItem("SaveAs"); // to save the formxfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0); // to Print the formThanks,Debadas.
HelloActually this isn't the main reason for using FormCalc as opposed to JavaScript,FormCalc is not as powerful or as ubiquitous as JavaScript. However, it is ideal for nonprogrammerswho need to add calculations to their forms. If you come from a Microsoft Excel background andyou don't have any ...
Hello,You can make two check boxes to be mutually exclusive by writing the following codein the click event i.e.for check box B1:-if(this.rawValue == 1) { B2.rawValue = 0; }for check box B2:-if(this.rawValue == 1) { B1.rawValue = 0; }Thanks,Debadas.
Hello,You can give the background color of the drop down list according to the value selectedby writing the following script in the exit event:if(this.rawValue == "High") { this.fillColor="255,0,0"; //RED } if(this.rawValue == "Low") { this.fillColor="0,128,0"; //Green }...