Problem:
The user created two post forms for "For Sales" and "For Rent" and wanted guests to automatically select the current post they were viewing.
Solution:
The issue was resolved by setting a default value for the post element in the form. The user needed to add the [wpv-post-id] shortcode inside the default field of the post to have the item preselected.
To hide this preselected field from the visitors, CSS code was provided to make the select box invisible. The CSS selector is specific to the ID of the form. Here’s an example of the CSS code: