web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : arbOPT3I/ZmM8akqhqasNf
Power Pages - General Discussions
Unanswered

Submit button to show in the advanced form for all tabs? (Having 3 buttons: Previous, Next and Submit)

Like (0) ShareShare
ReportReport
Posted on 30 Jun 2022 09:08:57 by 520

We can only see the submit button at the last step, but maybe I don`t want to go until last step to submit if there are no required tabs, so how can I add the submit button to each step/tab, so in the image there will be 3 buttons: Previous, Next and also Submit

Robert94_1-1656580090092.png

 

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 02 Jul 2022 at 09:00:24
    Re: Submit button to show in the advanced form for all tabs? (Having 3 buttons: Previous, Next and Submit)

    Hi @Robert94 

     

    In the advanced form steps. 

    1. Select each step > Form options >  Custom JavaScript 

    2. Insert a jquery that will create a button  called Submit and perform Submit action 

     

    $(document).ready(function () {
     var $input = $('<input type="button" value="Submit" />');
     $input.appendTo($("body"));
    
    });
    

    Include form action as submit. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Robert94 Profile Picture
    520 on 04 Jul 2022 at 09:12:29
    Re: Submit button to show in the advanced form for all tabs? (Having 3 buttons: Previous, Next and Submit)

    Hi @ragavanrajan ,
    Thank you for your response.
    I`m kind of new to whole this Portal/JavaScript, I copied that script where you`ve told me, but nothing happened, do I have to do anything else? Is there something to replace in that script based on my portal?

    Robert94_0-1656925940305.png

     

  • Robert94 Profile Picture
    520 on 28 Jul 2022 at 09:07:54
    Re: Submit button to show in the advanced form for all tabs? (Having 3 buttons: Previous, Next and Submit)

    HI @ragavanrajan , I still couldn`t make this work, I`m copying that code in the custom javascript, but nothing happens in the website, no button appears.
    Couldn`t be there a way to copy the inspect of an already existing submit button (the defaul one), and creating another?

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 28 Jul 2022 at 09:35:02
    Re: Submit button to show in the advanced form for all tabs? (Having 3 buttons: Previous, Next and Submit)

    Hi @Robert94 

    Sorry for the delay. I need to check my implementation. I will check probably this weekend and get back to you. 

    Meanwhile I will notify other superusers.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 46 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 43 Super User 2025 Season 2

#3
Jerry-IN Profile Picture

Jerry-IN 38

Last 30 days Overall leaderboard
Loading complete