• Resolved brianborisson

    (@brianborisson)


    Hi,

    As per your request I will ask the question here:

    How can you make sure that:

    – People must be logged in before the Form 7 will appear and they will be able to fill it in and submit (not sure how to do this)

    – Once submitted, the form should be mapped to a custom post with the help of the Post My CF7 Form plugin, in draft form (I was able to do this)

    – Once I approve the custom post, it will be displayed on the website (I was able to do this)

    – Once the custom post is live, I want ONLY the original logged in submitter of the form to be able to send in another (or the same?) form in order to make changes to his or her custom post that is now visible on the website (not sure how to do this).

    – After the changes are submitted with the form, I want to be able again to approve the draft before it goes live again.

    Can you let me know if and how this is possible?

    Thanks,

    Brian

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    As per your request I will ask the question here:

    thank you, this way we ensure others can find the answers.

    People must be logged in before the Form 7 will appear and they will be able to fill it in and submit (not sure how to do this)

    you can block the page (make it private) or you can redirect to another page if they are not logged in (search stackexchange for answers).

    Once the custom post is live, I want ONLY the original logged in submitter of the form to be able to send in another (or the same?) form in order to make changes to his or her custom post that is now visible on the website (not sure how to do this).

    have you read the FAQ #20?

    After the changes are submitted with the form, I want to be able again to approve the draft before it goes live again.

    that’s the default behaviour.

    Thread Starter brianborisson

    (@brianborisson)

    Hi,

    Thanks for the answers.

    I’ve read FAQ #20, am I right in:

    A) If you accomplish to show the form only to logged in users, this means that once a user is logged in, the form appears, the user will fill in the form and submits it. (this is correct?)

    B) the form is mapped onto a custom post and published by the administrator. The custom post is now live on the website.

    C) If a user wants to update his or her single post page (the previously filled in form fields that are now mapped onto custom fields in the single custom post), he or she has to login again, and fill in the same form as in the past to overrule the previous post?

    – So no new post will be created, it will overrule the old post?
    – Also, users can only make changes this way to their own form/post, not to other posts? (I only want users to be able to fill in 1 form, creating 1 single post page for that user)

    D) What if most fields in the form are mandatory, but the user only wants to change 1 field? He or she is obligated to fill in all mandatory fields again in the form?

    Hopefully you can elaborate on A,B,C & D for me to understand better and implement it.

    Kind regards,

    Brian

    Plugin Author Aurovrata Venet

    (@aurovrata)

    A – yes
    B – yes, however

    The custom post is now live on the website.

    if you configure your custom post to be visible on the front-end.

    So no new post will be created, it will overrule the old post?

    no. if they fill in a blank form, a new post is created. You need to allow their post to be re-loaded into the form allowing them to edit their submission.

    D – no, you have to follow the above logic.

    Thread Starter brianborisson

    (@brianborisson)

    So no new post will be created, it will overrule the old post?

    no. if they fill in a blank form, a new post is created. You need to allow their post to be re-loaded into the form allowing them to edit their submission.

    –> Thanks for the answers, can you elaborate a bit more on this part:

    So if you have a standard page where logged in users can fill in a form, this will be mapped onto a draft post. The administrator now publishes the post. So if you now allow the post backend (by crossing the box in the backend editing section of the particular post?) to be re-loaded into the form, you allow logged in users to edit their submission.

    Meaning: when you cross the box, and if the logged in user will fill in the same form again like they did the first time (including all mandatory fields again), a new draft will be created of the old post.

    That way, the administrator can review and publish again?

    Let me know if I understand the process correctly.

    Thanks

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Thanks for the answers, can you elaborate a bit more on this part:

    the best way to understand is to experiement. Either add a ‘save’ button to your form for saving drafts, or follow the instructions in FAQ #20 to see the results of editing a submitted posts.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    You can also use CF7 plugin settings to enable form submissions by logged in users

    Thread Starter brianborisson

    (@brianborisson)

    Thanks for the tip!

    I will experiment some more, but maybe you can answer this question please before I change to much to forms and mapped fields:

    – The first time people register, they will be able to fill in the form for the first time as well. Therefore, most fields will be made mandatory by me in order for them to fill in as much as possible. Reason: to map everything into the custom fields of the custom post. I review and publish and their post is created.

    – Now let’s say they want to change only 1 field (update of their name or any other field). I don’t want them to re-fill the whole form with mandatory fields again (could be more than 15 mandatory fields).

    So my question:

    Is it possible to create a SECOND form, which I call the UPDATE form, that is exactly the same form in terms of form fields and how they are mapped to custom fields backend, BUT: non of these fields are mandatory, therefore the logged in user (that already has his or her own post/page) can make updates without having to fill in all mandatory fields again.

    In order for this to work it should be able to have 2 forms, and both forms will map to the 1 post of the logged in user (and without erasing form fields that are left blank when the user is using the updating form).

    Kind regards,

    Brian

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I still insist that you experiment, but use a test form with 3 fields instaed of 15 till you understand what you are doing!

    you don’t need 2 forms.

    If a user decides to edit their initial submission ALL FORM FIELDS that are mapped will already be filled with the values of their initial submission….so if they want to change 1 field (any one) and re-submit the form, they will be re-submitting just 1 edit while the 14 others will have the same values.

    Thread Starter brianborisson

    (@brianborisson)

    Hi, thanks for answering.

    But for 1st time form submitters I want to make most fields mandatory. By creating a second form for people that want to update their post, I can make the 2nd form similar (similar fields), BUT: all fields not mandatory. That way, they can indeed pick the field they want to change while the other fields keep their values.

    Is this possible?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Is this possible?

    yes, but completely unnecessary.

    Thread Starter brianborisson

    (@brianborisson)

    ok thanks,

    Unnecessary because you can create 1 form that is simultaneously mandatory (all fields) for first time form fillers, and non-mandatory for updating/2nd time form fillers?

    • This reply was modified 3 years, 8 months ago by brianborisson.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    unnecessary because you can achieve the same result with a single form.

    2 forms means twice the maintenance effort!

    Thread Starter brianborisson

    (@brianborisson)

    Could you explain me how you can accomplish both with only 1 form please?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I have! You need to read the previous replies carefully and experiment! experiment! experiment!

    Thread Starter brianborisson

    (@brianborisson)

    ok thanks

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘How to have only logged in users post via form?’ is closed to new replies.