on 07-14-2014 3:26 PM
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
Anyone any ideas on how to fix this issue. Thanks, Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
as far as i know it might be a problem with your Stage customization, if Dropdown list is connected to a Screen Field of Infotype or Subtype and your screen field is a required field to create Infotype this may cause a problem in your form, it means when client want to leave page or submit the form this dropdown list consider as Required field. to ensure about this problem you can Use:
1. go to HRASR_DT
2. choose Scenario Steps
3. now you can just Uncheck your dropdown lists from this step, it does not means that client can not see this fields BUT however this fields are available for users but they are not required field for this step anymore.
please be consider in case that your Dropdown`s are connected to required Screen Fields of Info/Sub type (connected to Back-end PA/PT/PD) such problems are inevitable.
Hope this help you.
Hi Ali, Thanks for the reply. But I am not using PCR forms using HRASR_DT. This is a Web Dynpro Java application using Interactive Form. How to remove the link to dropdown? And One other question, how to restrict to attach only PDF documents, if attaching any other document give an error. Thanks, Pramod
HI
i think this one would be helpful for you, if you be familiar with java programming or find someone expert then you can change the code in a way your code check the file extension of selected file before attach to your pdf.
if upper link does not work you can try this one:
Hope this help you.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.