Hello @msedighiyan86
Thank you very much for using our plugin.
The easiest solution would be to insert an “HTML Content” field in the form with the following piece of code as its content:
<script>fbuilderjQuery(document).one('showHideDepEvent', function(){ jQuery('#fbuilder .pb0 .pbNext').text('Start');} );</script>
Best regards.
Thread Starter
Mohsen
(@msedighiyan86)
Thanks, that was too easy.
I have another question
Can I use shortcodes of Restrict content pro plugin to limit parts of a form?
These shortcodes restrict some of the content for some membership levels.
for example :
[restrict]This is the restricted text[/restrict]
For an entire form, these codes work correctly:
[restrict][CP_CALCULATED_FIELDS id="1"][/restrict]
But when it is placed inside a form, no special action is performed:
"HTML Content" field: [restrict]
...
...
....
"HTML Content" field: [/restrict]
Hello @msedighiyan86
No, sorry. Forms do not accept third-party shortcodes in their structure. Forms are rendered client-side, and shortcodes are replaced server-side.
Best regards.
Thread Starter
Mohsen
(@msedighiyan86)
Thank you.
I have another question!
It is possible to move to a specific page of the form by add an onlick event to a button. For example, page 3
Hello @msedighiyan86
Yes, that’s possible. You only should call the GOTOPAGE operation from the on-click event of the button:
https://cff.dwbooster.com/documentation#managing-fields-module
Please, note the pages’ indexes begin at zero. So, the index of the third page would be two.
Insert a button field in the form and enter the following piece of code as its on-click event:
GOTOPAGE( 2, this.form );
Best regards.
Thread Starter
Mohsen
(@msedighiyan86)
Thanks a lot For your great plugin