How to Create CPTs Relationships via WordPress Front End Form | JetEngine & JetFormBuilder

แชร์
ฝัง

ความคิดเห็น • 77

  • @alimalek9362
    @alimalek9362 ปีที่แล้ว

    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.

  • @naabigaabdoulrazak1959
    @naabigaabdoulrazak1959 ปีที่แล้ว

    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 ✌

  • @danielgarrido6430
    @danielgarrido6430 ปีที่แล้ว +2

    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?

  • @robbie9783
    @robbie9783 ปีที่แล้ว +1

    Hi. Are there any way to transplante posts from frontend? Thanks

  • @jenniferward6821
    @jenniferward6821 ปีที่แล้ว

    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. 🙄

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      We are glad to know you could make it work 🥳. On 7:37 minute inserted_post_id was chosen on this video.

  • @moallaacademy
    @moallaacademy ปีที่แล้ว

    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

    • @moallaacademy
      @moallaacademy ปีที่แล้ว +1

      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

  • @felixthamu6639
    @felixthamu6639 หลายเดือนก่อน

    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.

    • @Crocoblock
      @Crocoblock  หลายเดือนก่อน +1

      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?

  • @HappyHappy_1314
    @HappyHappy_1314 4 หลายเดือนก่อน

    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?

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      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
      th-cam.com/video/I_HOFovnH4k/w-d-xo.html
      th-cam.com/video/ibEDq8gaJzI/w-d-xo.html&ab_channel=Crocoblock
      th-cam.com/video/DloUYSFmAvs/w-d-xo.html&ab_channel=Crocoblock
      crocoblock.com/knowledge-base/features/jetengine-user-profile-builder-overview/
      so, everything depends on what exactly you need to show :)

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      and yes, you can use Users-Users in the relation ;)

  • @HelaG50
    @HelaG50 3 หลายเดือนก่อน

    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?

    • @Crocoblock
      @Crocoblock  3 หลายเดือนก่อน +1

      kindly proceed to our support team so we could investigate it better what exactly is wrong from your side crocoblock.com/help-center/

  • @mediasites
    @mediasites 11 หลายเดือนก่อน

    In your video, we connect from Gutenberg Editor. Can we connect if we use Classic Editor?

    • @Crocoblock
      @Crocoblock  11 หลายเดือนก่อน

      Hello! Yes, you can relate posts if you use Classic Editor.

  • @HappyHappy_1314
    @HappyHappy_1314 4 หลายเดือนก่อน

    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?

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      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

  • @mohammadforutan341
    @mohammadforutan341 ปีที่แล้ว

    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?

  • @coneqto
    @coneqto ปีที่แล้ว

    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?

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว +1

      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.

  • @daniloribeiro71
    @daniloribeiro71 ปีที่แล้ว

    There is Possibility to register categories and tags using JetForm Builder in Front-end?

  • @user-samueladema777
    @user-samueladema777 5 หลายเดือนก่อน

    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

    • @Crocoblock
      @Crocoblock  5 หลายเดือนก่อน

      could you please specify a bit your request? as it's not clear enough what exactly you mean

  • @eumunin
    @eumunin 7 หลายเดือนก่อน

    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.

    • @Crocoblock
      @Crocoblock  7 หลายเดือนก่อน +1

      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.

    • @eumunin
      @eumunin 7 หลายเดือนก่อน

      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?

  • @MoxetKhanPK
    @MoxetKhanPK ปีที่แล้ว +2

    Thank you Osamu for the tutorial, just wondering what is post_id at 7:00 in the form for?

    • @osamu_wakabayashi
      @osamu_wakabayashi ปีที่แล้ว +1

      Current Post ID.

    • @MoxetKhanPK
      @MoxetKhanPK ปีที่แล้ว

      @@osamu_wakabayashi yes it is current post ID but how its used here.

    • @moallaacademy
      @moallaacademy ปีที่แล้ว

      I guess you mean "Inserted_post_id"
      for cpt it is already there
      but for cct it is not there!

  • @HelaG50
    @HelaG50 2 หลายเดือนก่อน

    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.

    • @HelaG50
      @HelaG50 2 หลายเดือนก่อน

      Never mind. I was able to make it work using the URL Query Variable. Thanks again.

    • @Crocoblock
      @Crocoblock  2 หลายเดือนก่อน

      Ask us in case of any other questions :)

  •  4 หลายเดือนก่อน

    What would the editing look like, as mine doesn't want to update the speakers

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      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/

  • @user-samueladema777
    @user-samueladema777 5 หลายเดือนก่อน

    How can i get video for the jetformbuilder specificly that you used

    • @Crocoblock
      @Crocoblock  5 หลายเดือนก่อน

      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?

  • @avishithpm1712
    @avishithpm1712 ปีที่แล้ว

    "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)

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      If you need our assistance on this question, feel free to ask them here: crocoblock.com/help-center/

  • @日光-x8h
    @日光-x8h ปีที่แล้ว

    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.

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      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/

  • @MsilikaleMsilanga
    @MsilikaleMsilanga ปีที่แล้ว

    Thank you, realy helpful. How do you make the speaker to selected in the current form after when is added 18:22

  • @user-gl7ju7xz3q
    @user-gl7ju7xz3q 10 หลายเดือนก่อน

    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?

    • @Crocoblock
      @Crocoblock  10 หลายเดือนก่อน

      Hello! Check this tutorial please:
      th-cam.com/video/t7EUTl78elo/w-d-xo.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/

  • @dwayneoliver2685
    @dwayneoliver2685 ปีที่แล้ว

    Hello Osamu,
    Can you send a link to the first "how-to" video that you reference at the beginning of the video?
    Thanks

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Sure, here we go: th-cam.com/video/KzSD-01NXV4/w-d-xo.html

  • @aceweboneglobe9412
    @aceweboneglobe9412 ปีที่แล้ว

    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...

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Hi! Please, contact our support on this issue - crocoblock.com/help-center/
      They'll check and help :)

  • @ecompreneurzee1433
    @ecompreneurzee1433 11 หลายเดือนก่อน

    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?

    • @Crocoblock
      @Crocoblock  11 หลายเดือนก่อน +1

      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/

  • @VictorPietroM
    @VictorPietroM ปีที่แล้ว

    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.

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Hi! Yes, this is possible. Please, contact our support crocoblock.com/help-center/
      They'll help you 😉

    • @hummerfan100
      @hummerfan100 ปีที่แล้ว

      Hey, have you got a solution to that problem?

    • @VictorPietroM
      @VictorPietroM ปีที่แล้ว

      @@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.

  • @dragon3602010
    @dragon3602010 3 หลายเดือนก่อน

    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

    • @Crocoblock
      @Crocoblock  3 หลายเดือนก่อน

      unfortunately, we don't have a built-in solution
      you can try any custom solution on your own :)

    • @dragon3602010
      @dragon3602010 3 หลายเดือนก่อน

      @@Crocoblock ok thanks but how can i know the PHP functions that i can call ? is there any documentation ?
      thanks

    • @Crocoblock
      @Crocoblock  3 หลายเดือนก่อน +1

      I'm afraid, we don't have any useful tips for this idea

    • @dragon3602010
      @dragon3602010 3 หลายเดือนก่อน +1

      @@Crocoblock ok but there is an api , no ?

    • @Crocoblock
      @Crocoblock  3 หลายเดือนก่อน +1

      it looks like it can be done not via the api

  • @Pinedownarre
    @Pinedownarre ปีที่แล้ว

    Gallery type?

  • @user-samueladema777
    @user-samueladema777 4 หลายเดือนก่อน

    how to make listing display only for related user ?

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      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

    • @user-samueladema777
      @user-samueladema777 4 หลายเดือนก่อน

      @@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.

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      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/

  • @vahidmohamadi6873
    @vahidmohamadi6873 5 หลายเดือนก่อน

    Very Small. Poor editing but useful content

    • @Crocoblock
      @Crocoblock  5 หลายเดือนก่อน

      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.