Need script to add days (taking from dropdown field)

malaisamy1
Kilo Contributor

Hi Guys,

I Have one more requirement. Could you please help me on this,

i have one date field called invoice_date where i have one more field called day_s

where day_s has dropdown values like 10,15, 30 so on.

my result field = invoice_date + day_s

that is it has to add the days whatever there in the day_s field. and stored in my result field.

result field is a date field.

Is it possible? any idea?

Thanks in Advance,

Malaisamy Ji

14 REPLIES 14

On the client script you declared glideAjax as 'Payment_utils' instead of 'payment_utils'.



On the script include part, can you change the accessible from to "All Application Scope" and try again.


Even after correcting those mistakes its still not working.



Is there any other way to do this with out glideajax method?



Malai


gs.nowDateTime() is not supported in scoped applications. Is your current application in the same scope as the scope of script include?


Yes.Abhi..Both are in same scope.



Could you please help me to achieve this without GlideAjax method?.



Because our application is a scoped application. So it is now considering the glideajax method.



Thanks In advance.



Malaisamy J


Sorry its not considering GlideAjax Method