Display default value of Dropbox

Avatar

Avatar

alexandrad27705

Avatar

alexandrad27705

alexandrad27705

04-04-2016

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

rishim22446870

Avatar

rishim22446870

rishim22446870

13-04-2016

Hi Alex,

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

Thanks,

Rishi

Answers (4)

Answers (4)

Avatar

Avatar

sachjain

Avatar

sachjain

sachjain

14-04-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

Avatar

Avatar

alexandrad27705

Avatar

alexandrad27705

alexandrad27705

13-04-2016

Hi Rishi, 

Thanks for the update!

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

Thanks, Alex

Avatar

Avatar

alexandrad27705

Avatar

alexandrad27705

alexandrad27705

11-04-2016

Done that. Doesn't work 😞

Avatar

Avatar

Khushwant_Singh

Avatar

Khushwant_Singh

Khushwant_Singh

07-04-2016

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