Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Callout button for calendar in datacapture.cfg
Rit
Hi,
My datacapture.cfg consists of an item "START_DATE".
item name="START_DATE"
label : Start Date
description :The date this content will become available: format "mm/dd/yyyy".
text required="f" maxlength="100" size="30" validation-regex"..."
cgi-callout url="/ts-bin/united_states/us_date.cgi" label="Get Date" window-features="width=320,height=200,resizable=yes,toolbar=no,scrollbars=yes"/
The above code is calling a cgi script which in turn callout a calendar popup. I don't want the intermediate level i.e, the cgi script. I want datacapture.cfg in such a way that as soon as we click the callout button(Get Date), the calendar popup should come.
Kindly provide some suggestions.
Find more posts tagged with
Comments
RonaldV
"the calendar popup should come."
Do you mean one of these nice looking ajax-like calendar-widget instead of the new-window-popup?
If yes, good luck. I don't think that is possible. And if it is possible with some nasty workaround I would advise against it for reason of complexity and long-term-support.
Ronald
Evani20
Still your rquirement is not clear, try to write little more detail what exactly you want to do. Opening a calendar form its pretty straight forward and simple as well. Try to attach your cgi file.
Good luck
Rit
Thanks Ronald & Evani... I got the solution...
Actually, my problem was :-
I wanted a calendar callout in my DCT, by calling us_date.cgi directly in the DCT as :
callout url="/iw-bin/us_date.cgi" label="GetDate" window-features="width=200,height=230,resizable=no,toolbar=no,scrol lbars=no,titlebar=no"
Anujap
Hi Rit,
Could you please how you did..I also have same requirement?
Thanks
Rit
Hi Anuj,
I have attached the code alongwith. Tell me in case of any problem.