it looks like that you can apply the usual preset with the Update post action crocoblock.com/knowledge-base/jetengine/jetengine-how-to-update-posts-via-front-end-form-submission-option/#preset-settings
Very useful tutorial. My relations seem to work although I cannot see the "title" and "actions" when editing my CPT. For example in 9:15 above I can only see the two buttons "add new speaker" and "connect speakers" but no title and actions. Is there a reason for this?
Great video! Thank you very much Osamu! But how about editing the event to change the speaker? Specifically, how can I preset the Select field in the form with the current speaker pulled from the relation already established?
Hey Osamu, that a good video. Thank you for this video. As I said earlier, your videos are getting better and better. By showing the steps, we can better understand how you built the elements, few steps are still missing an example would be the form fields settings and the listing but thanks a lot for what you have already done. I say it not just for me but for new viewer as well, I have been using CrocoBlock since 2019 so I am familiar with most of their complex and powerful plugins setup which require a learning curve. Thanks to geniuses like you we keep learning new tricks. KEEP UP WITH THE GREAT WORK ✌
as "Child Item Id" you selected "Inserted_post_id" where did "inserted_post_id" come from? i don't see that on your form and I checked ur previous tutorial and it was not there
i think I got it when i use cpt "Inserted_post_id" is already there! but when i use cct it is not there! so how should i create relationship between two cct in front end
Excellent tutorial! May I know why not set Speakers to User, wonder what are differences/when to use Speaker Users or Speaker CPT? Also if I want to connect relations with 2 Users, is that possible as seem will have confusion?
thank you :) there's no huge difference as you choose the elements which suit your idea better using Speakers as CPT provides you wider possibilities due to meta fields at the same time, you can create a meta box for Users to add and then display more information as for Speakers as CPT, you can then create a Single page for the user, if you use Users themselves, then the single page can be done only if you have implemented the profile builder functionality here are some guides on how to set up profile builder ruclips.net/video/I_HOFovnH4k/видео.html ruclips.net/video/ibEDq8gaJzI/видео.html&ab_channel=Crocoblock ruclips.net/video/DloUYSFmAvs/видео.html&ab_channel=Crocoblock crocoblock.com/knowledge-base/features/jetengine-user-profile-builder-overview/ so, everything depends on what exactly you need to show :)
Hi, Osamu. Your tutorial is always easy to understand. Thank you. At 6:54, if I want to display other meta field as a choice for selection, how can I do it? You used title but if you make "speaker" meta field...
I I would like to build a website connecting Tradesmen and homeowners/job creators. I will set Job as CPT, and supposed there are few required relations, eg CPT jobs to tradesmen, CPT jobs to homeowners, tradesmen to homeowners. In this case, what should I set for Tradesmen and Homeowners, Users or CPT? For relations, I would set ‘Many to Many’ as many tradesmen can provide jobs to many homeowners, however, in this case do I need to manually connect both at WP backend or no need manual connection since choosing ‘Many to Many’ relations can already demonstrate all opening relations between all jobs to tradesmen and homeowners?
as I've already mentioned in the previous comment, if you need to show the Single page, then it's better to use CPT for users and in your case I would set tradesmen and homeowners as CPTs, I think
sorry... which exactly you need to get? maybe you have some problems with displaying this video or what exactly do you mean? could you please help me to understand you better?
How do I list only the speakers of the logged in user (current user)? I couldn't find the correct option on the form. When the user selects a Speeker, he sees the speekers of all users.
Try to use Generate dynamically option for the source of the field options: jetformbuilder.com/features/multi-optional-field-source-settings/#generate-dynamically It allows you to use the options generated by JetEngine Query.
Tks! This worked very well, but now I have one more question! I have a select field that searches for information from a CPT (speeker) and another select field that searches for information from another CPT (events). Create a form that makes the relationship between these CPTs!? I would like to show in the selection field only unrelated events yet. Is it possible to do this through query?
How would I accomplish this Osamu? I have two terms (taxonomies): country and city. They are related as one-to-many and all the relations are created. In a registration form on jetformbuilder, I need when a user chooses a country like America (parent) in a selection field, a second selection field shows the related cities (children).
Hello. Is it possible to enter post types with the Gravity Form plugin? I have needs, which form and jet formbuilder cannot do. Can I use gravity form?
Great video Osamu. Since you are the only one who seems to be answering questions, I have 3 string calculated fields from conditional logics which either of these can be a title (slug). In insert/update post submission actions, only one of these fields can be the title. I therefore need a fourth calculated field to take the output of ONE of the 3 conditional fields. I have tried everything but the information from all the 3 conditional fields still makes it way to this fourth field. Direct me please to a resource which can help me figure this out.
well, it depends on what exactly you need to achieve in general, if you want to combine fields, then you need to use the option As string in the calculate field but it's not clear enough about the part 'to take the output of ONE of the 3 conditional fields' on which principle you'll know which field to choose? could you please enlarge it a bit?
8 месяцев назад
What would the editing look like, as mine doesn't want to update the speakers
I want to building a daycare website i have created a relation b/n parent with child and child with activity i want to show parents their child and activity like u did on speakers and events but i want to see the form u using for my post where can i find it. that was my question thanks
Hey thanks for the good video! Can you show how to create the "edit event" form? I tried to do it myself but I failed to set up the preset settings for the select field to show the already selected parent in the form.
Hello! Thank you for your feedback! To set up pre-set for the field with related items, click on Default Value Dynamic tag icon, please prnt.sc/WfoK3Wy1GeBN If you still have any questions how to make it work, feel free to contact our support team for help crocoblock.com/help-center/
Hi Mr. Osamu, as usual I always like your tutorial videos, short & sharp. I have a User to CPT relations & I want to show this user as the parent relations in Jetformbuilder, may I know how to do this? Thank you in advance?
Hello! You should build a query to display related items. Then use Generate dynamically option to get values list from JetEngine Query. You can get more info about this option in this article: jetformbuilder.com/features/multi-optional-field-source-settings/
How to do this with another field, other than the selector? This is unfeasible in a scenario with more than a thousand name options... I would like it to be with a text field or even automatically pull the author id with a hiden field. It's possible?
Hello! Current User ID can be stored as a value of the hidden field this way: prnt.sc/FtCuG56waJMs , also you can choose Current Post Author ID option: prnt.sc/UeBGJEBiRS4M . If you put the form on the public user page, you can get the ID of this user this way: prnt.sc/uKEaYPHcUrOM So a solution depends on what page the form is placed.
great and how can I during the creation of the CPT in the admin: create a CPT that has a relation to the current CPT that I am creating, via snippet code or is there another way ? I want to be able to choose a random post from a certain CPT and assign it to the one I am creating Thanks
Example: I have 1000 speakers and want to create a new event for a particular speaker. I also have a listing page showing all speakers, each with a button to add a new event. How can I relate these two CPTs without using a dropdown showing all the 1000 speakers (redundant)? That is, how can I make the parent item ID in the connect relation items Action get information from that one actual Speaker CPT? I hope you understand. Thank you.
"Hey everyone, I'm working on a real estate website featuring buildings and apartments as custom post types. Apartments have a 'rent' or 'sale' value. I want to list buildings that have only rental apartments. Any tips on how to do this? Your help is much appreciated!(building is parent of apartment)
Hi Osamu, thank you for the helpful video how to connect existed CPTs to another existed CPTs in front end form? and how to fill the relations metadata after creating it?
Hello! Check this tutorial please: ruclips.net/video/t7EUTl78elo/видео.htmlsi=iml1sNAWsjW2-FgS It should help you to understand how to work with Connect Relation items action. Here is the article which describes how to add a Relation meta field: crocoblock.com/knowledge-base/jetengine/jetengine-relations-dynamic-output/ If you still have any questions, contact our support team, please crocoblock.com/help-center/
Hi! Thanks for the video. I need something similar, but couldn't find a way. I need to connect a WP user to a CPT through the JetFormBuilder. Is it possible? i.e., the Speaker would be a WP user instead of a CPT.
Many thanks I watched the Croco tutorial and it kept making a relation to ACCOUNT page although I followed her exactly - then I listened to your tut and you were different in one respect you selected INSERTED NEW POST instead of current ID - and now it works. 🙄
if you want to show the posts of the parent user to childs only, then you need to add the macro 'related items' to the author field and then set it up as you need it
@@Crocoblock okay thanks for ur answer but Parents are users only child have posts i want to show parents only child posts(CPT) which is related to them.
well, you know, relations can be set in different ways (you might have a listing for users and nested listing inside or you need to show for the current user posts which are related to this user) - it depends :) so it would be more efficient to proceed to our support team so that we could find the best solution for you crocoblock.com/help-center/
We are happy to know you found this video useful. If you have any specific suggestions or topics you'd like us to cover in more detail, please feel free to let us know.
What about editing the event and having the form preset with the fields you submitted?
it looks like that you can apply the usual preset with the Update post action
crocoblock.com/knowledge-base/jetengine/jetengine-how-to-update-posts-via-front-end-form-submission-option/#preset-settings
It was a great tutorial, thank you. I really didn't know how to set relations between parent and child through front-end form. It was very useful.
Thank you Osamu for the tutorial, just wondering what is post_id at 7:00 in the form for?
Current Post ID.
@@osamu_wakabayashi yes it is current post ID but how its used here.
I guess you mean "Inserted_post_id"
for cpt it is already there
but for cct it is not there!
Very useful tutorial. My relations seem to work although I cannot see the "title" and "actions" when editing my CPT. For example in 9:15 above I can only see the two buttons "add new speaker" and "connect speakers" but no title and actions. Is there a reason for this?
kindly proceed to our support team so we could investigate it better what exactly is wrong from your side crocoblock.com/help-center/
Great video! Thank you very much Osamu! But how about editing the event to change the speaker? Specifically, how can I preset the Select field in the form with the current speaker pulled from the relation already established?
Thank you, realy helpful. How do you make the speaker to selected in the current form after when is added 18:22
I think it just does it as default.
Hi. Are there any way to transplante posts from frontend? Thanks
Hey Osamu, that a good video. Thank you for this video.
As I said earlier, your videos are getting better and better. By showing the steps, we can better understand how you built the elements, few steps are still missing an example would be the form fields settings and the listing but thanks a lot for what you have already done.
I say it not just for me but for new viewer as well, I have been using CrocoBlock since 2019 so I am familiar with most of their complex and powerful plugins setup which require a learning curve. Thanks to geniuses like you we keep learning new tricks.
KEEP UP WITH THE GREAT WORK ✌
as "Child Item Id" you selected "Inserted_post_id"
where did "inserted_post_id" come from?
i don't see that on your form
and I checked ur previous tutorial and it was not there
i think I got it
when i use cpt "Inserted_post_id" is already there!
but when i use cct it is not there!
so how should i create relationship between two cct in front end
Excellent tutorial! May I know why not set Speakers to User, wonder what are differences/when to
use Speaker Users or Speaker CPT? Also if I want to connect relations with 2 Users, is that possible as seem will have confusion?
thank you :)
there's no huge difference as you choose the elements which suit your idea better
using Speakers as CPT provides you wider possibilities due to meta fields
at the same time, you can create a meta box for Users to add and then display more information
as for Speakers as CPT, you can then create a Single page for the user, if you use Users themselves, then the single page can be done only if you have implemented the profile builder functionality
here are some guides on how to set up profile builder
ruclips.net/video/I_HOFovnH4k/видео.html
ruclips.net/video/ibEDq8gaJzI/видео.html&ab_channel=Crocoblock
ruclips.net/video/DloUYSFmAvs/видео.html&ab_channel=Crocoblock
crocoblock.com/knowledge-base/features/jetengine-user-profile-builder-overview/
so, everything depends on what exactly you need to show :)
and yes, you can use Users-Users in the relation ;)
Hi, Osamu. Your tutorial is always easy to understand. Thank you. At 6:54, if I want to display other meta field as a choice for selection, how can I do it? You used title but if you make "speaker" meta field...
Hi! Please, contact our support on this issue - crocoblock.com/help-center/
They'll check and help :)
In your video, we connect from Gutenberg Editor. Can we connect if we use Classic Editor?
Hello! Yes, you can relate posts if you use Classic Editor.
I I would like to build a website connecting Tradesmen and homeowners/job creators. I will set Job as CPT, and supposed there are few required relations, eg CPT jobs to tradesmen, CPT jobs to homeowners, tradesmen to homeowners. In this case, what should I set for Tradesmen and Homeowners, Users or CPT? For relations, I would set ‘Many to Many’ as many tradesmen can provide jobs to many homeowners, however, in this case do I need to manually connect both at WP backend or no need manual connection since choosing ‘Many to Many’ relations can already demonstrate all opening relations between all jobs to tradesmen and homeowners?
as I've already mentioned in the previous comment, if you need to show the Single page, then it's better to use CPT for users
and in your case I would set tradesmen and homeowners as CPTs, I think
How can i get video for the jetformbuilder specificly that you used
sorry... which exactly you need to get? maybe you have some problems with displaying this video
or what exactly do you mean? could you please help me to understand you better?
How do I list only the speakers of the logged in user (current user)? I couldn't find the correct option on the form. When the user selects a Speeker, he sees the speekers of all users.
Try to use Generate dynamically option for the source of the field options: jetformbuilder.com/features/multi-optional-field-source-settings/#generate-dynamically
It allows you to use the options generated by JetEngine Query.
Tks! This worked very well, but now I have one more question!
I have a select field that searches for information from a CPT (speeker) and another select field that searches for information from another CPT (events). Create a form that makes the relationship between these CPTs!? I would like to show in the selection field only unrelated events yet. Is it possible to do this through query?
There is Possibility to register categories and tags using JetForm Builder in Front-end?
How would I accomplish this Osamu? I have two terms (taxonomies): country and city. They are related as one-to-many and all the relations are created. In a registration form on jetformbuilder, I need when a user chooses a country like America (parent) in a selection field, a second selection field shows the related cities (children).
looks like this addon should help you :)
give it a try!
github.com/ihslimn/jet-form-builder-update-field
Hello. Is it possible to enter post types with the Gravity Form plugin?
I have needs, which form and jet formbuilder cannot do. Can I use gravity form?
Great video Osamu. Since you are the only one who seems to be answering questions, I have 3 string calculated fields from conditional logics which either of these can be a title (slug). In insert/update post submission actions, only one of these fields can be the title. I therefore need a fourth calculated field to take the output of ONE of the 3 conditional fields. I have tried everything but the information from all the 3 conditional fields still makes it way to this fourth field. Direct me please to a resource which can help me figure this out.
well, it depends on what exactly you need to achieve
in general, if you want to combine fields, then you need to use the option As string in the calculate field
but it's not clear enough about the part 'to take the output of ONE of the 3 conditional fields'
on which principle you'll know which field to choose?
could you please enlarge it a bit?
What would the editing look like, as mine doesn't want to update the speakers
if you have some kind of issues, kindly proceed to our support team and we'll help you to cope with it :) crocoblock.com/help-center/
I want to building a daycare website i have created a relation b/n parent with child and child with activity i want to show parents their child and activity like u did on speakers and events but i want to see the form u using for my post where can i find it. that was my question thanks
could you please specify a bit your request? as it's not clear enough what exactly you mean
Hey thanks for the good video!
Can you show how to create the "edit event" form? I tried to do it myself but I failed to set up the preset settings for the select field to show the already selected parent in the form.
Hello! Thank you for your feedback! To set up pre-set for the field with related items, click on Default Value Dynamic tag icon, please prnt.sc/WfoK3Wy1GeBN If you still have any questions how to make it work, feel free to contact our support team for help crocoblock.com/help-center/
Hi Mr. Osamu, as usual I always like your tutorial videos, short & sharp. I have a User to CPT relations & I want to show this user as the parent relations in Jetformbuilder, may I know how to do this? Thank you in advance?
Hello! You should build a query to display related items. Then use Generate dynamically option to get values list from JetEngine Query. You can get more info about this option in this article:
jetformbuilder.com/features/multi-optional-field-source-settings/
How to do this with another field, other than the selector? This is unfeasible in a scenario with more than a thousand name options... I would like it to be with a text field or even automatically pull the author id with a hiden field. It's possible?
Hello! Current User ID can be stored as a value of the hidden field this way: prnt.sc/FtCuG56waJMs , also you can choose Current Post Author ID option: prnt.sc/UeBGJEBiRS4M . If you put the form on the public user page, you can get the ID of this user this way: prnt.sc/uKEaYPHcUrOM So a solution depends on what page the form is placed.
Hello Osamu,
Can you send a link to the first "how-to" video that you reference at the beginning of the video?
Thanks
Sure, here we go: ruclips.net/video/KzSD-01NXV4/видео.html
great and how can I during the creation of the CPT in the admin:
create a CPT that has a relation to the current CPT that I am creating, via snippet code or is there another way ?
I want to be able to choose a random post from a certain CPT and assign it to the one I am creating
Thanks
unfortunately, we don't have a built-in solution
you can try any custom solution on your own :)
@@Crocoblock ok thanks but how can i know the PHP functions that i can call ? is there any documentation ?
thanks
I'm afraid, we don't have any useful tips for this idea
@@Crocoblock ok but there is an api , no ?
it looks like it can be done not via the api
Example: I have 1000 speakers and want to create a new event for a particular speaker. I also have a listing page showing all speakers, each with a button to add a new event. How can I relate these two CPTs without using a dropdown showing all the 1000 speakers (redundant)? That is, how can I make the parent item ID in the connect relation items Action get information from that one actual Speaker CPT? I hope you understand. Thank you.
Never mind. I was able to make it work using the URL Query Variable. Thanks again.
Ask us in case of any other questions :)
"Hey everyone,
I'm working on a real estate website featuring buildings and apartments as custom post types. Apartments have a 'rent' or 'sale' value. I want to list buildings that have only rental apartments. Any tips on how to do this? Your help is much appreciated!(building is parent of apartment)
If you need our assistance on this question, feel free to ask them here: crocoblock.com/help-center/
Hi Osamu, thank you for the helpful video
how to connect existed CPTs to another existed CPTs in front end form?
and how to fill the relations metadata after creating it?
Hello! Check this tutorial please:
ruclips.net/video/t7EUTl78elo/видео.htmlsi=iml1sNAWsjW2-FgS
It should help you to understand how to work with Connect Relation items action.
Here is the article which describes how to add a Relation meta field: crocoblock.com/knowledge-base/jetengine/jetengine-relations-dynamic-output/
If you still have any questions, contact our support team, please crocoblock.com/help-center/
Hi! Thanks for the video. I need something similar, but couldn't find a way. I need to connect a WP user to a CPT through the JetFormBuilder. Is it possible? i.e., the Speaker would be a WP user instead of a CPT.
Hi! Yes, this is possible. Please, contact our support crocoblock.com/help-center/
They'll help you 😉
Hey, have you got a solution to that problem?
@@hummerfan100 Hey there, unfortunately no.. but I think it could be done by coding a function and calling it as a hook on your form submit.
Many thanks I watched the Croco tutorial and it kept making a relation to ACCOUNT page although I followed her exactly - then I listened to your tut and you were different in one respect you selected INSERTED NEW POST instead of current ID - and now it works. 🙄
We are glad to know you could make it work 🥳. On 7:37 minute inserted_post_id was chosen on this video.
how to make listing display only for related user ?
if you want to show the posts of the parent user to childs only, then you need to add the macro 'related items' to the author field and then set it up as you need it
@@Crocoblock okay thanks for ur answer but Parents are users only child have posts i want to show parents only child posts(CPT) which is related to them.
well, you know, relations can be set in different ways (you might have a listing for users and nested listing inside or you need to show for the current user posts which are related to this user) - it depends :)
so it would be more efficient to proceed to our support team so that we could find the best solution for you crocoblock.com/help-center/
Gallery type?
Very Small. Poor editing but useful content
We are happy to know you found this video useful. If you have any specific suggestions or topics you'd like us to cover in more detail, please feel free to let us know.