How to Combine WordPress Calculated Fields | JetFormBuilder

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024

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

  • @russcastella
    @russcastella 2 วันที่ผ่านมา

    For an order form that I'm creating. I have a number block that is $50 minimum, but user can type in more. Then, I have checkboxes that open conditional blocks. Each of those blocks have number field as well. Then at the end of the form I have all of the number fields calculate total.
    I don't want to calculate the total value from the conditional blocks unless the user selects the checkbox to unlock that conditional
    For example:
    1st Number field: 50 minimum
    Checkbox A
    Checkbox B
    Checkbox C
    Conditional block - If checkbox A, then show
    Number field (A): 50 minimum
    Conditional block - If checkbox B, then show
    Number field (B): 50 minimum
    Conditional block - If checkbox C, then show
    Number field (C): 50 minimum
    Total: 1st Numberfield + Number Field A (only if checkbox selected, otherwise should be 0) + Number Field B (only if checkbox selected, otherwise should be 0) + Number Field C (only if checkbox selected, otherwise should be 0)
    I have everything set up properly, but I just need help figuring out how to handle the total.

    • @russcastella
      @russcastella 2 วันที่ผ่านมา

      Figured out a way to do it without the checkboxes. I'm using Switchboxes instead. In the calculated field I can use conditions like if switch A is off then add $0, other wise add NumberfieldA to total. Pretty cool.

    • @Crocoblock
      @Crocoblock  2 วันที่ผ่านมา

      proceed please to our support team so we could guide you :)
      crocoblock.com/help-center/

  • @ImranHossain-yz8bz
    @ImranHossain-yz8bz 2 ปีที่แล้ว +5

    Awesome ✌️

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

      Thank you! We're glad it was useful 😉

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

    is it possible to calculate date? for example event date - 7 days, and the result will be inserted into the meta field (Deadline Date)?

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

      I have the same question. Were you able to figure this out?

  • @rehanahmed609
    @rehanahmed609 2 ปีที่แล้ว

    oh I love this. Thanks a lot for this beauty feature

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

    Good morning, I've been going crazy for days to try to get a simple operation done but I can't,
    I would need the user to enter a numerical data, this data must be multiplied by a value within a Custom Post Type ( Within the listing template) and that the result is simply displayed, my main problem is to find the information of the custom post type as a given meta and multiply it by the value entered, could you help me?

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

      it should be managed with the help of JetFormBuilder
      at the same time, it a bit hard to understand what exactly you need to achieve
      especially the part about entering the data
      I would appreciate it if you proceed with this question to our support team crocoblock.com/help-center/

  • @ViniciusFonsecaB
    @ViniciusFonsecaB 10 วันที่ผ่านมา

    I added 3 different calculated fields, each one with one conditional rule, set to appear only if this conditions apply. All good. BUT, only the first calculated field works fine. The other 2 calculated field show up with no math at all. Someone know how to solve this issue?

    • @Crocoblock
      @Crocoblock  10 วันที่ผ่านมา

      proceed please to our support team as we need to check settings from your side crocoblock.com/help-center/

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

    Supoer!

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

    Can a value from a calculated field be used inside of a repeater? Basically I need the user to enter values in a form, which will be used in a calculated field. Then I need to use this value to calculate another value but within a repeater field.

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

      Conseguiu fazer? também quero calcular campos que estão dentro do repeater

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

    Can you help me, how to show the repeated field from current post and calculate it. Thanks

  • @youtubecuaphu
    @youtubecuaphu 2 ปีที่แล้ว

    Super Cool ! Crocoblock

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

      Thank you for your support! 🙏

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

    Perfect! How can I calculate a field that receives the manually entered value and that field has a mask? I tried to do it and I couldn't. The currency in reais receives a comma, for example: '100,00', but when adding the mask to the field it does not perform the calculation. From what I saw, it only works with American currency, for example: '100.00' or only with the value '100'. How can I calculate the field with a mask?

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

      it would be more efficient and clear if you proceed to our support team with providing us with the example of what exactly you want to achieve - crocoblock.com/help-center/

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

    Is it possible to calculate the days between two dates?

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

      Were you able to figure this out? I have the same question. Basically, I'd like the user to enter their date of birth and then have a field that populates age based on the date of birth.

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

      @@burner918 Hi! Yes, this is possible. Please, contact our support and they'll help - crocoblock.com/help-center/

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

    It seems there is no more default value option for the calculated field, I cant find it on jetform builder and I am using the latest version of jetform builder.

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

      Hello! Yes, this field is removed. We contantly add new features and improve the functionality of the plugin. Could you please contact our support team and explain your use case so we could give you an alternative solution?

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

    How to Calculate fields , for example,
    I have a select that has 4 options for the user to choose from, the options are
    A) Large Fried Salty,
    B) Big roast salty
    C) Small Fried Salty
    D)Small Roasted Salty...
    and I have 4 selects with conditional logic, if the user chooses item "A" in the select, then a select appears with the flavors that refer to item "A"...
    if he chooses Item "B", the flavors of item B appear... so far so good...
    but how to sum these values ​​in a calculated field only?
    and my select of flavors each option of this select has a corresponding value of each flavor, however in the calculated field I select only one of the select that has flavors.. right?
    this I did, it worked for a select only..
    but how to calculate in a calculated field like this:
    If the user chooses Item A, I want the values ​​to appear when he selects the flavors from the select of flavors A...
    *or* if he chooses select b, the flavors of item b will appear....
    How to make calculations with calculated field "and" or "or"?????

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

    Hi i manage to callback by "human readable time difference" then the dynamic field Age auto update from the DOB, but it only get the login user DOB. As I have the user listing for multiple user. when choose one of the user it keep showing the same Age? how can I solve it.

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

      Could you please contact our support team so we could recheck your settings and provide a solution? crocoblock.com/help-center/

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

    Thanks for tutorials how can Calculated dynamic field with another dynamic field ?

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

      We are glad to know you liked this video! Could you please check our free addon for Calculated callback? crocoblock.com/knowledge-base/jetengine/calculated-callback-add-on/

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

      hello thanks for this
      How can I divide one field with another field and get the number?@@Crocoblock

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

    In the repeater I want to make two number fields multiply and when repeating it they add up, this is only in the pro version???

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

      voce conseguiu? preciso fazer isso tambem

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

      @@oncps22 It is not possible to do it with this plugin, use another one!

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

    So how is the front-end customized? Are these your theme settings?

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

      Check this tutorial please to find out how to display the form on the page jetformbuilder.com/features/adding-the-form-block/

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

    Is it possible to create a multi-step form that allows you to ask questions to the visitor, and based on their answers, show selected cpts according to the calculation of the form?
    Example: I have a site where I have created a cpt called "Skin Creams" with their respective custom fields.
    Then I have a form where I would like to ask the visitor their age, their skin type, their gender, and other questions. And according to what the user answers I am going to recommend certain cpt products.
    Is it possible to do this with JetEngine and JetFormBuilder?

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

      If you have many options to choose, then at the current moment, it will be hard to set it up with JetFormbuilder since you will need to use conditional logic and set rules for all possible choises from form fields.

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

      @@Crocoblock so, with conditiional logic and set rules can I choose which cpts to show?

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

      There is another solution instead of using conditional logic. You can use Redirect to page action, add query arguments to the redirect URL prnt.sc/Cz2nSkU53pa5 then query the listing on that static page by query variable.

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

    is this site used in tutorial already a template????

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

      Hello! If you are interested in our dynamic templates and design templates, you can check the list here: crocoblock.com/dynamic-templates/

  • @WhoAmI-nu7kf
    @WhoAmI-nu7kf 2 ปีที่แล้ว

    Can I use the calculated output somewhere else? Like the output will be saved as a value which can be later processed on some other form?

    • @nafiul499
      @nafiul499 2 ปีที่แล้ว

      This is what similar thing I was trying to do last couple of days. I tried to get the data from their form filed ID and even meta data. But nothings working. It's really important for these users who really wants to design a unique calculated form and that calculated data will be design from elementor. I don't know why they are adding this but yeah found out wpforms offer this but need to do custom code but their pricing no way. So I think need to custom code to fix this.

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

      Yes! Save the output to a input field and then map this input as you wish in the post submit action.

    • @WhoAmI-nu7kf
      @WhoAmI-nu7kf 2 ปีที่แล้ว +1

      @@VictorPietroM Thank you for your answer but how do I save the input to input field ? How do I map it?

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

      @@WhoAmI-nu7kf Hi, with JetFormBuilder you can create a "Calculated Field", in which you can use values from other input to calculate a value.
      For example, if you want to calculate the average of 3 other inputs:
      ((%FIELD::_rating_budget% + %FIELD::_rating_quality% + %FIELD::_rating_durability%) / 3)
      Then you map the "Calculated Field" to the CPT or CCT field you want to save.

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

    How can I create a Review CCT using this? I need to calculate (using range field) average rating score of a meta field on another custom Product CCT...

    • @javierjojojo
      @javierjojojo 2 ปีที่แล้ว

      it would be posible for you? i don't have any answer about that...

  • @faizrehman7937
    @faizrehman7937 2 ปีที่แล้ว

    It's cool but I'm still scratching my head even after watching the video.

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

      Hi! Thank you for your feedback! Please, feel free to contact our support crocoblock.com/help-center/
      They'll help to make everything easier 😉