My Account

Forums

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Use hook/custom endpoint after post creation #37099
    cubetech
    Participant

    Okay looks like I found the solution by myself 🙂

    Based on the example here https://wsform.com/knowledgebase/handling-submit-data-with-your-own-code/ I created a function which simply checks for existence of a custom property:

    function SendNotifications($form, $submit) {
      if (property_exists($submit, 'post_id')) {
        $newlyCreatedPost = $submit->post_id;
      }
      return $submit;
    }

    If there is a post_id I can then do whatever I want with it 🙂

    in reply to: Populate Field with Data from other Fields #33579
    cubetech
    Participant

    Hi Mark

    Thanks for your answer. The problem is, the users are not logged in. But my work around did the job 🙂

    Good to have so many features. There is a solution for almost everything!

    in reply to: Populate Field with Data from other Fields #33578
    cubetech
    Participant

    Well that questions was a bit early 🙂

    I found the following solution:

    In conditional logic, on mouse down I set the value of my hidden field “#post_title – #field(12) #field(20)”
    This seems to work.

    For everyone: make sure you don’t clear or allow hidden fields to be processed in actions.

    in reply to: Version 1.8.0 Release #32832
    cubetech
    Participant

    Hi Mark

    Thanks for this update!
    I’ve searched for the compiled css option in “basic” and also in “advanced” but I cannot find this option.

    Can you help me (and maybe others) out?
    Christian

    in reply to: Shortcode: Can I add prefill-data? #32796
    cubetech
    Participant

    Thank you Mark 🙂

    I hoped that there is something like a data-paremeter which I can easy add to the shortcode.
    But yeah, ofc dynamic populate is also an option. The only “bad” thing is, that if I want to populate a form on page A but not on page B it will get a bit messy I think 🙂

    Christian

    in reply to: Label Column Size #32778
    cubetech
    Participant

    Hi Mark

    I’m not sure if you got my question right 🙂
    I know about the responsive-sizing features and that’s what I already use. The problem is not about sizing the (whole) field, the problem is the label-size.
    For example I can set the field-size to 12 cols on mobile and 4 cols on desktop. So far so good.
    The problem is, I have only one setting for label size. Let’s say it’s 3 cols (default).
    On mobile the label-size (3col) has not enough space to display the label on one line while on desktop this is no problem.
    So basically what I want to achieve is that on mobile the label itself is 6col while on desktop it’s still 3col.

    Do you know what I mean?
    Christian

    cubetech
    Participant

    Afaik you can’t change something in the options directly with built in features.
    BUT it is possible to fire a hook after form submission and in there you can basically do whatever you want.

    in reply to: Using btn-outline for Submit Buttons #31995
    cubetech
    Participant

    Hi Mark

    Thank you so much!
    I’ve not seen this change until now and I’m very happy you did this change *THIS* fast 🙂

    Best regards
    Christian

Viewing 8 posts - 1 through 8 (of 8 total)