Display default value of Dropbox | Community
Skip to main content
alexandrad27705
New Participant
April 5, 2016
Solved

Display default value of Dropbox

  • April 5, 2016
  • 5 replies
  • 4581 views

Hi, 

I have an adaptive form which I am pre-filling with some data from the currently logged in user. I also have a bunch of drop downs distributed among some child panels of the form. These should show their default value "Please Select" when the form is initialised. In order to do that, I needed to add this value to the prefill.jsp so that the drop downs are pre-filled. 

But the drop downs are on child panels which are  dynamically hidden/shown and when I generate a default DoR it 'detects' the value "Please Select" and adds it and the entire child panel to the DoR.

Is there a way to exclude them from the DoR when they are on a hidden panel and also have them show the default text?

Any help is very appreciated. Thanks, Alex

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by rishim22446870

Hi Alex,

This was a bug in 6.1 Feature Pack 1 and it recently got fixed.

Thanks,

Rishi

5 replies

New Participant
April 14, 2016

This will be available in 6.2 as well as 6.1 FP1 hotfix.

About default value for drop down, you can use placeholder text to display default text.

Thanks,

Sachin

alexandrad27705
New Participant
April 13, 2016

Hi Rishi, 

Thanks for the update!

Was this fixed as a hotfix or will this be in 6.2?

Thanks, Alex

rishim22446870
rishim22446870Accepted solution
Employee
April 13, 2016

Hi Alex,

This was a bug in 6.1 Feature Pack 1 and it recently got fixed.

Thanks,

Rishi

alexandrad27705
New Participant
April 12, 2016

Done that. Doesn't work :(

Khushwant_Singh
Employee
April 8, 2016

You can enable the "Exclude fields from DoR If hidden"property at the form level to exclude all the hidden fields from DOR.