Answers.Body: <p>I have an FB form that's submitted by anonymous users.  The 'Permission' on the form's settings page is set to 'Generic - Allow all users (including anonymous)' and on each contact page 'Security' is set to 'Form based'.  This is a Drupal 7 system but should work for all.  Credit to Coleman of course who helped with this..</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-17T21:52:34.500Z
Answers.Text: Yes and you also need to edit the Search Display and disable permission checks.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-18T18:36:08.453Z
Answers.Text: _Fantastic!_ Thank you both so much. The Form Builder permission 'Generic - Allow all users (including anonymous)' also exists on the WordPress platform, and that gave me the table in the public web page - but only the header, no data rows. I then found that the SearchKit 'Result' section also has permissions that I set to 'bypass permissions' = and now I see it exactly as I wanted! <3
Answers.UserDisplayName: Torben Gundtofte-Bruun
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-18T20:46:58.373Z
Answers.Text: ...almost what I wanted. I discover that the event/registration links in the output is broken because, when included in the page `mysite.com/courses/`, then unfortunately `/courses/` is inserted into the actual link. The link given in SearchKit is `civicrm/event/info/?reset=1&id=10` becomes `https://mysite.com/courses/?civiwp=CiviCRM&q=civicrm%2Fevent%2Fregister&reset=1&id=10`. I will put this into a new topic!
Answers.UserDisplayName: Torben Gundtofte-Bruun
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-17T21:45:08.390Z
Answers.LastActivityDate: 2023-10-17T21:45:08.390Z
Answers.UserDisplayName: Andy Clark
Body: <p>In <a href="https://civicrm.stackexchange.com/q/45695/15929">this other question</a>, I learned how to create a shortcode for a FormBuilder form that shows a SearchKit search result of events. I then discovered that <strong>WordPress does not render the shortcode form unless you are logged in.</strong></p>
  <p><strong>What I have:</strong></p>
  <ul>
  <li>My test setup is newest WP 6.3.2 and newest CiviCRM 5.66.0.</li>
  <li>CiviEvent: several events.</li>
  <li>SearchKit: a search that gives me the results I want.<br />
  The result presents no actions, no sorting, just a static table listing.</li>
  <li>Form Builder: a form to hold the results from the search.<br />
  The &quot;permissions&quot; field is intentionally blank, but that's not enough to make the form content public.</li>
  <li>WordPress: a page that contains the shortcode with my search.<br />
  <strong>This works correctly when I am logged in, but is simply not rendered for public visitors.</strong></li>
  </ul>
  <p><strong>What I want:</strong></p>
  <ul>
  <li>The form content should be visible to public visitors (not-logged-in users).</li>
  </ul>
  
Tags: <wordpress><formbuilder>
Title: How to make a FormBuilder form visible to visitors? (not logged-in users)
ThreadText: # How to make a FormBuilder form visible to visitors? (not logged-in users)
  
  (Asked by: username_0 on 2023-10-17)
  
  In [this other question](https://civicrm.stackexchange.com/q/45695/15929), I learned how to create a shortcode for a FormBuilder form that shows a SearchKit search result of events. I then discovered that **WordPress does not render the shortcode form unless you are logged in.**
  
  **What I have:**
  
  * My test setup is newest WP 6.3.2 and newest CiviCRM 5.66.0.
  * CiviEvent: several events.
  * SearchKit: a search that gives me the results I want.  
    The result presents no actions, no sorting, just a static table listing.
  * Form Builder: a form to hold the results from the search.  
    The "permissions" field is intentionally blank, but that's not enough to make the form content public.
  * WordPress: a page that contains the shortcode with my search.  
    **This works correctly when I am logged in, but is simply not rendered for public visitors.**
  
  **What I want:**
  
  * The form content should be visible to public visitors (not-logged-in users).
  
  **Tags:** wordpress, formbuilder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-10-17. Score: 5 | Accepted answer
  
  I have an FB form that's submitted by anonymous users. The 'Permission' on the form's settings page is set to 'Generic - Allow all users (including anonymous)' and on each contact page 'Security' is set to 'Form based'. This is a Drupal 7 system but should work for all. Credit to username_2 of course who helped with this..
  
  > **Comments:**
  > **username_2**: Yes and you also need to edit the Search Display and disable permission checks.  
  > **username_0**: _Fantastic!_ Thank you both so much. The Form Builder permission 'Generic - Allow all users (including anonymous)' also exists on the WordPress platform, and that gave me the table in the public web page - but only the header, no data rows. I then found that the SearchKit 'Result' section also has permissions that I set to 'bypass permissions' = and now I see it exactly as I wanted! <3  
  > **username_0**: ...almost what I wanted. I discover that the event/registration links in the output is broken because, when included in the page `mysite.com/courses/`, then unfortunately `/courses/` is inserted into the actual link. The link given in SearchKit is `civicrm/event/info/?reset=1&id=10` becomes `https://mysite.com/courses/?civiwp=CiviCRM&q=civicrm%2Fevent%2Fregister&reset=1&id=10`. I will put this into a new topic!  
  
  ---
  
  