Hi ,
I have couples of question.
1. I need to make a field required based on some condition and not required based on some condition
Like this,
<PDM_IF "$args.zischgexist" == "NO">
<PDM_MACRO name=dtlDropdown hdr="Urgency" attr=zurgency evt="onChange=\\\"setCOType()\\\"" lookup=no make_required="yes" whereclause="enum in (2, 1)">
<PDM_ELSE>
<PDM_MACRO name=dtlDropdown hdr="Urgency" attr=zurgency evt="onChange=\\\"setCOType()\\\"" lookup=no whereclause="enum in (0)">
</PDM_IF>
But it is not working as expected
2.I want to set field to invisible based on some condition. At the same time its required field for some condition
So at some condition i have set like ,
el.elements["SET.zurgency"].value = 0;
el.elements["SET.zurgency"].style.display = "none";
From above condition have tried to disable the field after setting value . However the field is disabled but the value is not set .
So change order is throwing error since its required field
3. This is something with limitation of words
Below is working
<PDM_MACRO name=dtlTextbox hdr="Task Description" attr="" value="Change">
Below is not working
<PDM_MACRO name=dtlTextbox hdr="Task Description" attr="" value="Change Manager Approval">
If it is less chars the value is displaying . But 2nd one value is not displaying
Can anyone please help me on this?
Any help me would be grateful
Thanks,
Lakshmi