Replacing form for logged in user with "contact place" button

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 4 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #530844

    Thomas
    Full Member
    Post count: 9

    What i’m trying to do is find a way that a site visitor only needs to enter their details into a form once, and from that point they can one click on a listing page to send an enquiry to a listing owner.

    I’m trying to do this with Ninja forms and i’m using the user management add on in Ninja, which allows you to create a new user from a form fill. So I’ve set things so the first form fill from a visitor creates a wp user for them.

    What I’d now like to do is have things set so the form isn’t shown from that point on, but on every listing a button is displayed saying “enquire now”, which would send the listing owner the user’s details.

    It seems that ninja forms can pull in the WP user details, but right now once the first form fill is made, all listing pages have a message saying “Please logout to view this form”.

    I’m wondering if perhaps I can create a form that has all hidden fields and just a visible “submit” button, which is only shown to logged in users, and which pulls the user details into the hidden fields?

    Or is there a better way?

    I’m doing all this as a prelude to my ultimate desire, which is to use the favorites as a shortlist, to which a user can contact all favourites with one form fill/click.

    #530870

    Alex Rollin
    Moderator
    Post count: 27815

    You would need to make the same form again, but that does not include the registration function. You can set to forms on the same page with GD Ninja Forms element.

    Besides needing to start with the GD Contact form, this isn’t a GD issue. The GD Contact form has a special hidden field that merges in the GD Listing email field, but other than that it is a normal Ninja Form.

    About just showing a button instead of loading the form, that would require your own customization.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket