how do I get the customizable form block to be hidden once a logged in user submits it. If the “logged-in user can only submit once” condition is checked.
solved my own problem:
paste this in the header code of the page you want the customizable form to be hidden after submission:
<style>
#initiate-conversations-button > section > div > div > div > form > span {
display: none;
}
</style>
this is the code i used to get the submitted version of the form hidden after submission
it just uses the css selector of the submitted form:
css selector before form submitted: #initiate-conversations-button > section > div > div > div > form > button
css selector after form submitted: #initiate-conversations-button > section > div > div > div > form > span
1 Like
Hey, thanks a lot for sharing the custom codes, it will definitely be helpful to other questions too.