Skip Navigation

[Closed] Split: Selecting the current user's post in the relationship form

This support ticket is created 2 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 2 years, 4 months ago.

Assisted by: Waqar.

Author
Posts
#2236097

Hi there,

Ok I must have been adding the wrong form. I can now get it to work for a Teacher becoming a child of a school. However it looks a bit clunky in the fact that they've just registered and have to search for themselves on the second Select menu,

Is there anyway that this can be set to the current logged in user automatically?

i.e. this field:

<div class="form-group">
		<label for="%%FORM_ID%%_child">[cred_i18n name='child-label']Teachers[/cred_i18n]</label>
		[cred-relationship-role role='child' author='$current']
	</div>
#2236125

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

To suggest the most efficient way to achieve this, I'll need to see how this form is set up.

Can you please share temporary admin login details, along with the link to the page where this relationship form can be seen?

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

The topic ‘[Closed] Split: Selecting the current user's post in the relationship form’ is closed to new replies.