Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reg: Making a field as required on selection

Hello Guru's, We are using Adobe Interactive Forms (NON PCR's) in WDJ application. I am having the below issue: My requirement is to make a field not required on selecting a value in the Dropdown. I could make that happen using the Java Script as below: InteractiveForm.SubForm.Fieldname.access = "readOnly" ; Fieldname.validate.nullTest = "disabled " ; This works fine. But in the application I have 2 other dropdowns, and on selection it is triggering the below line of code: ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", ""); I have the same code to disable the field after this call. But instead of disabling it is Highlighting the field. I tried to see if there is any code where I am setting focus to that field, but no where in the code I am doing that. Please help me in fixing the issue. Thanks, Pramod

Former Member
Former Member replied

The last event call that happens is Layout Ready. So did the coding there to make the field required or not required. Thanks, Pramod

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question