krileon wrote: You're already setting the ID to a CB field so you can do a query in a CB Query Field and substitute in the ID as needed. This won't be ajax of course and is only going to display on profile for example.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You may want to look into hiring someone to develop it for you then.Could you suggest someone ?
We don't do contract development, sorry.or would CB team do it for an amount ?
You can not set field values using JS and expect anything to work, it won't. Setting a value with JS does not fire events down the DOM. So no other JS knows the field ever changed. You'd need to fire the change event so other JS can be informed of the change (e.g. with jQuery: $( '#cb_myfield' ).trigger( 'change' ); ).In the meanwhile I tried to make it another way by making the CB field containing the ID set by js a condition for displaying another field but this does not work neither.
The condition does not display the second field on first display of the registration form, only if I click on the first field and click enter, then it works.
Seems a problem with CB conditional plugin
Please Log in or Create an account to join the conversation.
krileon wrote: You'd need to fire the change event so other JS can be informed of the change (e.g. with jQuery: $( '#cb_myfield' ).trigger( 'change' ); ).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.