Hi,I have developed a form with javascript code,Code goes here, form1.#subform[0].Button1::click - (JavaScript, client)if(TextField1.rawValue==1){var p=xfa.host.messageBox("Does your leave application include public holidays?","Public Holidays",2,2);if(p==4){var q=xfa.host.response("Enter the number...