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

Add checkbox in predefined filter

Avatar

Avatar
Validate 1
Level 2
tejashriw155148
Level 2

Likes

12 likes

Total Posts

70 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
tejashriw155148
Level 2

Likes

12 likes

Total Posts

70 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
tejashriw155148
Level 2

07-01-2021

Hi,

 

Please let me know how can I add predefined filter for gender, it means if I checked male then it should show all records related to male gender only.

 

Example: highlighted in bleow screenshot.

tejashriw155148_0-1610026776719.png

 

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 5
Level 4
ParthaSarathy
Level 4

Likes

37 likes

Total Posts

63 posts

Correct Reply

27 solutions
Top badges earned
Affirm 5
Establish
Give Back
Boost 5
Boost 3
View profile

Avatar
Affirm 5
Level 4
ParthaSarathy
Level 4

Likes

37 likes

Total Posts

63 posts

Correct Reply

27 solutions
Top badges earned
Affirm 5
Establish
Give Back
Boost 5
Boost 3
View profile
ParthaSarathy
Level 4

12-01-2021

Hi @tejashriw155148 ,
You can create male and female checkbox for recipient list with this steps,
step1: Data Schema
In the extended recipient schema, create 2 attributes @male and @female with data type as boolean.
Give default value as 'Yes' and followed by a condition expr="@gender=1" for male and expr="@gender=2" for female.
(After updating DB structure, For cross verification, you can create a workflow query as @male=yes and check it is fetching all male gender successfully.)
Step2: Pre-defined filter
Duplicate 'byNameOrEmail' predefined filter.
In General tab, Make the filtering condition for newly created attribute @male and @female.
In Parameter tab, Check the checkbox 'Default filter for associated document type'
In Form tab,
 <form colcount="4">
   <input noTransaction="true" xpath="@lastName"/>
   <input noTransaction="true" xpath="@email"/>
   <input noTransaction="true" xpath="@male"/>
   <input noTransaction="true" xpath="@female"/>
 </form>
In Preview tab, we can see how it is rendering and you can validate for male and female checkbox.
 
Regards,
ParthaSarathy S

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1
MVP
Anita_p
MVP

Likes

117 likes

Total Posts

118 posts

Correct Reply

28 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Validate 1
MVP
Anita_p
MVP

Likes

117 likes

Total Posts

118 posts

Correct Reply

28 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Anita_p
MVP

10-01-2021

Hi @tejashriw155148 :

 

You can create your custom filter , save it and label as per your choice.

Screen Shot 2021-01-11 at 3.20.37 pm.png

 Once saved, you can select it from the filters option .

Thanks.

Avatar

Avatar
Validate 1000
Employee
Sukrity_Wadhwa
Employee

Likes

143 likes

Total Posts

866 posts

Correct Reply

35 solutions
Top badges earned
Validate 1000
Validate 500
Validate 250
Validate 100
Validate 25
View profile

Avatar
Validate 1000
Employee
Sukrity_Wadhwa
Employee

Likes

143 likes

Total Posts

866 posts

Correct Reply

35 solutions
Top badges earned
Validate 1000
Validate 500
Validate 250
Validate 100
Validate 25
View profile
Sukrity_Wadhwa
Employee

19-01-2021

Hi @tejashriw155148,

Were you able to resolve this query with any of the given solutions? Do let us know.

Thanks!

Avatar

Avatar
Shape 1
Level 1
vaibhavnindrajog
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile

Avatar
Shape 1
Level 1
vaibhavnindrajog
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile
vaibhavnindrajog
Level 1

07-01-2021

By adding a custom filter in the settings tab.

Currently last name and email are predefined, you can add a search box i guess so, not sure on the check box functionality.