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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / webform appears a few ...
Power Pages
Unanswered

webform appears a few second the dissappears

(0) ShareShare
ReportReport
Posted on by 27

I have a few tabs created using html and javascript. each tab should opens specific webforms. problem now is when i open a tab the webform appears, but disappears in few seconds. while this happens i notice the web page as whole reloads. please assist.

 

this are the tabs created using html and javascript.

liratoh_0-1629116569910.png

when i click on create practice, the webform appear but disappears and the tab becomes empty.

liratoh_2-1629116726325.png

please assist. thank you

 

 

Categories:
I have the same question (0)
  • lira-toh Profile Picture
    27 on at

    could the problem be in my javascript, here is my code:

    liratoh_0-1629190237614.png

    or is it a configuration i am missing in loading my webform. my code for loading my webform:

    <div class="tab">

         <button onclick="openCity(event, 'Create Practice)" class="tablinks" >'Create Practice'</button>

    </div>
    <!-- Tab content -->
    <div id="CreatePractice" class="tabcontent" >
    <h3 >Step1: Create Practice</h3>
        {% webform name: 'Create Practice' %}
    </div>

     

     

  • oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    I didn't see anything obvious in your JS that could be causing this, but just so I understand a bit more your scenario, you have multiple Web Forms in the same page, and depending on a user selection, you are showing/hiding the forms, is that it?

    I am not sure that is a good practice, as you might end up with multiple <form> elements and if a user doesn't have JS enabled in their browser, it could cause multiple web forms showing on the page

     

    I know you are probably trying to save an extra page load, but in my opinion each tab button should redirect to a new Web Page, containing each Web Form

  • lira-toh Profile Picture
    27 on at

    i go t the problem solved, problem was my javascipt code. webforms worked fine

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#2
CN-06091549-0 Profile Picture

CN-06091549-0 18

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 17 Most Valuable Professional

Last 30 days Overall leaderboard