Skip to main content

post selection question

Hi, I have a site with a form to update a post. I want that post to be pre-selected, but I can not find out how. I have looked at this doc https://wpmanageninja.com/docs/fluent-form/advanced-features-functionalities-in-wp-fluent-form/post-selection-input-field/
But I am not a coder and don't know what I need for this.

The post that needs to be selected is for the current user, and has a specific category. There is only one post per user in that category.

Can anyone help me out please?

Tommy Mason

Would Post ID work somehow?

Tommy MasonΒ I don't know. How would you get that?

J V

Natascha VantuykomΒ ID is in the post link.

J VΒ that does not help my problem, I need a way to select this automatically

My understanding is that you want to pin a post for a specific user or all users?

Nishat ShahriyarΒ a user can create 1 post in a specific category.
When he wants to edit this post, I use an update form. Because there can only 1 post for that user in that category, I would like that post default selected when they (current user) open the form, so they don't need to select it in the Post/CPT selection field (see screenshot)

Natascha VantuykomΒ You can set the post ID as the default value
Check these Screenshots:

  1. https://prnt.sc/pJ0Szz24_goU
  2. https://prnt.sc/daLybf9OWbJz

Nishat ShahriyarΒ thanks, but that is not dynamic selection, I have more than 1000 users, I can not make 1000 forms for them

Natascha VantuykomΒ i think this will be complex to set up, different posts for different users and a specific post pre-selected for edit....i don't know if anyone has done this before, i'll try to find workaround πŸ˜