View Full Version : Invoice creator
safewithyou247
11-11-2005, 09:44 AM
I am very new to apm6 and I need some help. I am trying to develop an app that will create an invoice for me. I am familiar with flash as but not this script. The first thing that I need to do is to make a calander pop up when I click on the date field on the page. Then auto fill in input filed with the date selected. Last it needs to disapear when you move on to the next field. If you can help please IM me. Any help will be greatly appreciated.
Thanks to all.
Derek
11-12-2005, 04:24 AM
Hi
Assuming your calendar is called Plugin1:
In your input field, put this line in the OnFocus event
Plugin.SetVisible("Plugin1", true);
In the calendar, put this code in the OnSelect event
selection = Calendar.GetSelection("Plugin1");
if (selection ~= nil) then
Input.SetText("Input1", e_StartDate);
else
Dialog.Message("Notice", "There is no date selected.");
end
Plugin.SetVisible("Plugin1", false);
That'll do the trick
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.