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:
  • 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,482 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 117

#2
Mohsin Ali Profile Picture

Mohsin Ali 37

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard