Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,901
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
Hi,
no idea on how to conditionnaly combine 2 xprofile field.
Here how you can show a msg if a field was not filed, even if it is not exactly what you asked for.
if ( bp_is_active( 'xprofile' ) || bp_is_profile_component() || bp_is_user() )
if ( !$data = bp_get_profile_field_data( 'field=Service' ) ) : // use field name
echo '<br>Your profile is not complete. Please fill in field: Service<br>';
endif;