Also you don’t seem to support including multiple protected areas on the same page without duplicating IDs. Here’s my custom template I made to fix all these issues. Please consider adding this in an updated to improve your form.
password-form.php:
<? $uniqueID = uniqid(); ?>
<div class="passster-form[PASSSTER_HIDE]" id="[PASSSTER_ID]">
<form class="password-form" method="post" autocomplete="off" target="_top">
<span class="ps-form-headline">[PASSSTER_FORM_HEADLINE]</span>
<p>[PASSSTER_FORM_INSTRUCTIONS]</p>
<fieldset>
<span class="ps-loader"><img alt="" src="[PS_AJAX_LOADER]"/></span>
<label for="[PASSSTER_AUTH]<? echo $uniqueID; ?>" style="display:none;">Enter your password</label>
<input placeholder="[PASSSTER_PLACEHOLDER]" type="password" tabindex="1" title="Enter your password" aria-label="Enter your password" name="[PASSSTER_AUTH]<? echo $uniqueID; ?>"
id="[PASSSTER_AUTH]<? echo $uniqueID; ?>" class="passster-password" autocomplete="off"
data-protection-type="[PASSSTER_TYPE]" data-list="[PASSSTER_LIST]" data-lists="[PASSSTER_LISTS]" data-area="[PASSSTER_AREA]"
data-protection="[PASSSTER_PROTECTION]">
[PASSSTER_SHOW_PASSWORD]
<button name="submit" type="submit" class="passster-submit" data-psid="[PASSSTER_ID]" [PASSSTER_ACF]
data-submit="...Checking Password" data-redirect="[PASSSTER_REDIRECT]">[PASSSTER_BUTTON_LABEL]
</button>
<div class="passster-error"></div>
</fieldset>
</form>
</div>
Hello @jlongbrake,
Thank you for the suggestions, I have forwarded these to our dev team and we will look into implementing these. A rough estimate would be the start of next week for this release.
Have a nice day!