How to get MRVS Date field value in client script.

manasa32
Tera Contributor

Hi All,

 

I have two variables(Strat date and End date) and one more variable Date. Date is a field in MRVS.

Now my requirement, Date validation must fall between Start date and End date. I am trying onSubmit client script. 

Can any one help on this. How can we achieve it.

 

 

Thanks in advance.

3 REPLIES 3

Sagar Pagar
Tera Patron

Hi,

Take a look at old threads -  Date validation in Multi row variable set in record producer

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use onChange catalog client script on Date variable which is within MRVS

there are some limitations even if you write onChange client script on variable within MRVS; you have issue accessing the variable outside the MRVS

check these links for help

Multi-Row Variable Sets: How to get or set values for variables outside of the MRVS (Native UI or Se...

Accessing other form variables from inside multi-row variable pop-up

regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@manasa 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader