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

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 82

  • @philiprudy1053
    @philiprudy1053 3 місяці тому +1

    What about editing the event and having the form preset with the fields you submitted?

    • @Crocoblock
      @Crocoblock  3 місяці тому

      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

  • @danielgarrido6430
    @danielgarrido6430 Рік тому +3

    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?

  • @HelaG50
    @HelaG50 7 місяців тому

    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  7 місяців тому +1

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

  • @MoxetKhanPK
    @MoxetKhanPK 2 роки тому +2

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

    • @osamu_wakabayashi
      @osamu_wakabayashi 2 роки тому +1

      Current Post ID.

    • @MoxetKhanPK
      @MoxetKhanPK 2 роки тому

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

  • @MsilikaleMsilanga
    @MsilikaleMsilanga 2 роки тому

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

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

  • @robbie9783
    @robbie9783 Рік тому +1

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

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

  • @davidbenjaminwamala4201
    @davidbenjaminwamala4201 2 дні тому

    Amazing video!
    Is it possible to create relations between CPTs and Users (User roles) through the front-end JetFormBuilder option?

  • @felixthamu6639
    @felixthamu6639 6 місяців тому

    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  6 місяців тому +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?

  • @aceweboneglobe9412
    @aceweboneglobe9412 2 роки тому

    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  2 роки тому

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

  • @mediasites
    @mediasites Рік тому

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

    • @Crocoblock
      @Crocoblock  Рік тому

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

  • @HappyHappy_1314
    @HappyHappy_1314 8 місяців тому

    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  8 місяців тому

      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
      ua-cam.com/video/I_HOFovnH4k/v-deo.html
      ua-cam.com/video/ibEDq8gaJzI/v-deo.html&ab_channel=Crocoblock
      ua-cam.com/video/DloUYSFmAvs/v-deo.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  8 місяців тому

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

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

  • @naabigaabdoulrazak1959
    @naabigaabdoulrazak1959 2 роки тому

    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 ✌

  • @日光-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/

  • @dwayneoliver2685
    @dwayneoliver2685 2 роки тому

    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  2 роки тому

      Sure, here we go: ua-cam.com/video/KzSD-01NXV4/v-deo.html

  • @danilo.mamedes
    @danilo.mamedes 2 роки тому

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

  • @ecompreneurzee1433
    @ecompreneurzee1433 Рік тому

    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  Рік тому +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/

  • @felixthamu6639
    @felixthamu6639 4 місяці тому

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

    • @Crocoblock
      @Crocoblock  4 місяці тому

      looks like this addon should help you :)
      give it a try!
      github.com/ihslimn/jet-form-builder-update-field

  •  8 місяців тому

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

    • @Crocoblock
      @Crocoblock  8 місяців тому

      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/

  • @eumunin
    @eumunin Рік тому

    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  11 місяців тому +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 11 місяців тому

      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?

  • @user-samueladema777
    @user-samueladema777 9 місяців тому

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

    • @Crocoblock
      @Crocoblock  9 місяців тому

      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?

  • @HappyHappy_1314
    @HappyHappy_1314 8 місяців тому

    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  8 місяців тому

      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

  • @dragon3602010
    @dragon3602010 7 місяців тому

    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  7 місяців тому

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

    • @dragon3602010
      @dragon3602010 7 місяців тому

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

    • @Crocoblock
      @Crocoblock  7 місяців тому +1

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

    • @dragon3602010
      @dragon3602010 7 місяців тому +1

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

    • @Crocoblock
      @Crocoblock  7 місяців тому +1

      it looks like it can be done not via the api

  • @user-samueladema777
    @user-samueladema777 9 місяців тому

    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  9 місяців тому

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

  • @HelaG50
    @HelaG50 6 місяців тому

    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 6 місяців тому

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

    • @Crocoblock
      @Crocoblock  6 місяців тому

      Ask us in case of any other questions :)

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

  • @DZArena-t6m
    @DZArena-t6m Рік тому

    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  Рік тому

      Hello! Check this tutorial please:
      ua-cam.com/video/t7EUTl78elo/v-deo.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/

  • @mohammadforutan341
    @mohammadforutan341 2 роки тому

    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?

  • @Pinedownarre
    @Pinedownarre 2 роки тому

    Gallery type?

  • @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/

  • @VictorPietroM
    @VictorPietroM 2 роки тому

    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  2 роки тому

      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.

  • @user-samueladema777
    @user-samueladema777 9 місяців тому

    how to make listing display only for related user ?

    • @Crocoblock
      @Crocoblock  9 місяців тому

      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 9 місяців тому

      @@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  9 місяців тому

      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 10 місяців тому

    Very Small. Poor editing but useful content

    • @Crocoblock
      @Crocoblock  10 місяців тому

      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.