Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Display default value of Dropbox

Avatar

Avatar
Validate 1
Level 2
alexandrad27705
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
alexandrad27705
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
alexandrad27705
Level 2

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
Boost 1
Level 2
rishim22446870
Level 2

Likes

2 likes

Total Posts

32 posts

Correct Reply

12 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 10
Affirm 1
View profile

Avatar
Boost 1
Level 2
rishim22446870
Level 2

Likes

2 likes

Total Posts

32 posts

Correct Reply

12 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 10
Affirm 1
View profile
rishim22446870
Level 2

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
Boost 1
Level 2
sachjain
Level 2

Like

1 like

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 2
sachjain
Level 2

Like

1 like

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile
sachjain
Level 2

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
Validate 1
Level 2
alexandrad27705
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
alexandrad27705
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
alexandrad27705
Level 2

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
Validate 1
Level 2
alexandrad27705
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
alexandrad27705
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
alexandrad27705
Level 2

11-04-2016

Done that. Doesn't work 😞

Avatar

Avatar
Boost 5
Level 4
Khushwant_Singh
Level 4

Likes

26 likes

Total Posts

79 posts

Correct Reply

20 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
Khushwant_Singh
Level 4

Likes

26 likes

Total Posts

79 posts

Correct Reply

20 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Khushwant_Singh
Level 4

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.