I wanted to make a conditional field for registration that asks:
“Do you want to stream?”
if yes
then show
xprofile field 1
xprofile field 2
xprofile field 3
else
hide xprofile fields 1-3because my theme shows all xprofile fields on the registration page regardless if set to primary or seperate field group (ANNOYING).
so i created the fields like so:
https://snag.gy/8iwNOU.jpgthis should hide them by default and only show is user selects the YES option from dropdown.
However this is how it shows on the registration form:
https://snag.gy/ZVEbUR.jpgI am almost 100% positive that they coded the registration page template incorrectly or this would work, here is the reg template:
https://pastebin.com/8YTWGi1NIm almost positive the lines starting around line 790 begin to hoo the xprofile fields but the lack the ability to identify if its a primary field or not, or of its a conditional
Hi Phil,
I am sorry but the plugin will not work with your theme.The plugin needs some classes/ids to work with conditions. All normal BuddyPress theme have this set properly.
The theme is not following any normal way, so I am sorry but even if I want, I won’t be able to do much with it.
Regards
BrajeshHi Phil,
It could most probably be fixed. I checked your theme’s register file and it has too much code. I fear overriding/changing might break your theme.My suggestion, get the help from theme developers. It will save you a lot of issues.
Regards
Brajeshbrajesh bro, i need your help boss. i messaged buddydev fb page
Hi @evillizard ,
Please open a topic here. We do not provide assistance via our facebook page(We do sometimes but it is rare).Thank you
Brajeshok boss @brajesh, but consider facebook support, thats the fastest way for people to reach buddydev – ild open a topic now
Thank you for the suggestion.
We will certainly consider it in future.Regards
Brajesh
You must be logged in to reply to this topic.