I need listing pending after a user creates listing

Hi, hope you can help me. If a user adds a submission and want’s to create a listing is directly uploads on the site. I would like to have it pending for my approval first. Any tips? Thanks!

My first thought is to make a ‘published’ data field (yes/no) for your Listing and have it defaulted to ‘no’ when the user first submits.

Then you can go and manually approve the listing by setting that field to ‘yes’

On the pages where you display the listings, you must filter by only showing - published is ‘yes’

1 Like

Yes, this sounds like a good solution! Will try it!

Yes!

After you create the field, you’ll see a section next to it that allows you to set what the default value is. Set it to ‘no’

1 Like

Thanks man!!

Only thing I’m left with is that when the listing is hidden it keeps a ‘placeholder’ so published listings don’t move up to the hidden spot. Any pointers perhaps? I set consistent at rg listing level. Thanks!

It won’t leave an empty space - can you send a screenshot of your Repeating Group settings?

It should be ‘Do a search for’ ‘Listings’ with a constraint of ‘Published = “yes”’

Thanks!

What are you trying to achieve? It won’t leave any hidden spaces or empty spots doing it the way above.

Do you want it to keep a space for the listing? If you want it to reserve that space until you’ve approved it and then go into that reserved space, just sort by creation date and filter by approved listings. When you approve the listing it’ll go in the right order from when it was created.

1 Like

Thanks! I don’t want to leave open spot but it happens when I hide based op ‘approved’ function. I’ll try the filter.

There is a space because you’re using a conditional to hide the group that is unpublished (third screenshot). Conditions are usually just visual!

You need to set the constraint on the repeating group Listing data source.

What’s confusing us is how you’re fetching the data for this repeating group. Try instead:

Do a search for - Listing - [add new constraint] published is “yes”

2 Likes

Thanks! This works.

I managed to do it with adding a filter to the datasource. Thanks!

1 Like

Great to hear!