Step 1: Create a page item.
Step 2: Get the id and class of error placeholder for the page item by doing inspect.
Step 3: To set an alert @ error placeholder of the page item, create a page load dynamic action by copying below JS and pasting it in execute JS section.
$('#P424_FILE_error_placeholder').html('<span class="t-Form-error">Please upload .doc/.docx/.rtf file.</span>');
Step 2: Get the id and class of error placeholder for the page item by doing inspect.
Step 3: To set an alert @ error placeholder of the page item, create a page load dynamic action by copying below JS and pasting it in execute JS section.
$('#P424_FILE_error_placeholder').html('<span class="t-Form-error">Please upload .doc/.docx/.rtf file.</span>');
Comments
Post a Comment