Hide Post Title and Post tag in form, autofill
-
Hi there,
Following a recent topic I’ve created (https://www.ads-software.com/support/topic/generate-post-title-from-another-field/) and helped me through the autofill of post title and post tag, I’m only missing a small step to achieve my goal. Thanks again for this support.
I just need to hide those fields (could be with css I guess). Indeed I don’t want the users to see those 2 fields. I don’t have access to the css style for those fields as the others in the forminator edition. I was trying to add directly the css in “enable custom CSS” but I didn’t manage to find the right way to call post_tag and post_title. I was thinking about something like this for the tag part but it didn’t work:
#postdata-1-tag_post.forminator-field {
display: none;
}Obviously I could hide post_tag and post_title by simply deselecting them in the forminator edition but they wouldn’t be called or autofill.
Thanks for helping me on that part !
Best,
Benoit
PS : I’ve looked for some js or php coding but obviously it always ends up with having the field type = hidden but I don’t feel comfortable modifying those fields type, that’s why I thought about the display: none from CSS..
EDIT :
from what I understood, post_tag and post_title don’t have div id. I’ve been able to hide all the “post” section with : $(“#postdata-1”).css(“display”, “none”);
But now I’m missing the post category .. I don’t know how to add the display: none to the right section without the id.
- The topic ‘Hide Post Title and Post tag in form, autofill’ is closed to new replies.