Hi Guys,
I need to use a form as attached in the screenshot, I want to pass the value given in Landing Page To Page to Patient page number To Page. Is it possible to take value and pass to next component.
Hi Guys,
I need to use a form as attached in the screenshot, I want to pass the value given in Landing Page To Page to Patient page number To Page. Is it possible to take value and pass to next component.
You can achieve the same using Logic section of the form component
You can use javascript to pass the value
Am passing One datagrid value to another but its not working. Find the java script code and let me know if anything is missed out.
if(data.datagrid.landingtoPage < data.datagrid1.patientFromPage){
result = true;
}
else {
result = false;
}
Hello,
Can you please change it like this and try?
if(Number(data.datagrid[0].landingtoPage) < Number(data.datagrid1[0].patientFromPage)){
result =data.datagrid[0].landingtoPage;
}
else {
result = data.datagrid1[0].patientFromPage;
}
Thanks!
Athira
The result should either be true or false ri8 as I use action to show an hidden error message when it mets the condition
In that case you can use like this:
if(Number(data.datagrid[0].landingtoPage) < Number(data.datagrid1[0].patientFromPage)){
result = true;
}
else {
result = false;
}
Thanks!
Athira