Gravity Forms

  • To make a field visible but not editable, add the Custom CSS Class "readonly"  in the Field Settings under Appearance.
  • You can autopopulate some fields if you include the username in the user url parameter (/my-form?user=0585357"). You must check Allow field to be populated dynamically and enter one of the below values in as the Parameter Name:
    • npi_number_lookup
    • email_lookup
    • first_name_lookup
    • last_name_lookup
    • name_lookup  (Display Name)
    • degree_lookup
    • level_lookup

Invite a logged out user to create an account or log in.

[s2If !is_user_logged_in()]
<div class="members-only">Please <a href="/account-login/?redirect=/my-page/">login</a> or <a href="/member-registration?level=subscriber&redirect=/my-page">create an account</a> to view this content</div>
[/s2If]

Show some content to logged in users only.

[s2If is_user_logged_in()]
This content is for members only.
[/s2If]

All Levels

[s2If current_user_is(s2member_level0)]  Subscriber Message  [/s2If]
[s2If current_user_is(s2member_level1)]  Alliance Message  [/s2If]
[s2If current_user_is(s2member_level2)]  Allied Health Pro Message  [/s2If]
[s2If current_user_is(s2member_level3)]  Physician Message  [/s2If]
[s2If current_user_is(s2member_level5)]  Resident Message  [/s2If]
[s2If current_user_is(s2member_level6)]  Student Message  [/s2If]
[s2If current_user_is(s2member_level7)]  Healthcare Management Message  [/s2If]

More Examples

https://s2member.com/kb-article/s2if-simple-shortcode-conditionals/

H2 Headings are for subtitles. It's parent should be an H1, its siblings should be H2's, and it's children H3's.

<h2>&lt;h2&gt;H2 Headings for subtitles. It's parent should be an H1, its siblings should be H2's, and it's children H3's.&lt;/h2&gt;</h2>

H3 Headings are the next step down. They should always provide more information about a parent h2 heading.

<h3>H3 Headings are the next step down. They should always provide more information about a parent h2 heading.</h3>
<a class="btn-sma btn-small btn-smj" href="/smj">SMJ Button Small</a>
<a class="btn-sma btn-medium btn-smj" href="/smj">SMJ Button Medium</a>
<a class="btn-sma btn-large btn-smj" href="/smj">SMJ Button Medium</a>
<a class="btn-sma btn-small btn-news" href="/news">News Button Small</a>
<a class="btn-sma btn-medium btn-news" href="/news">News Button Medium</a>
<a class="btn-sma btn-large btn-news" href="/news">News Button Medium</a>
<a class="btn-sma btn-small btn-courses" href="/cme-courses/">CME Button Small</a>
<a class="btn-sma btn-medium btn-courses" href="/cme-courses/">CME Button Medium</a>
<a class="btn-sma btn-large btn-courses" href="/cme-courses/">CME Button Medium</a>
<a class="btn-sma btn-small btn-podcasts" href="/podcasts/">Podcast Button Small</a>
<a class="btn-sma btn-medium btn-podcasts" href="/podcasts/">Podcast Button Medium</a>
<a class="btn-sma btn-large btn-podcasts" href="/podcasts/">Podcast Button Medium</a>
<a class="btn-sma btn-small btn-events" href="/sma-events/">Events Button Small</a>
<a class="btn-sma btn-medium btn-events" href="/sma-events/">Events Button Medium</a>
<a class="btn-sma btn-large btn-events" href="/sma-events/">Events Button Medium</a>

Discussion

SMA Menu