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

Notifications

Announcements

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,368 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 93 Super User 2025 Season 2

#2
Jerald Felix Profile Picture

Jerald Felix 45

#3
Lucas001 Profile Picture

Lucas001 28 Super User 2025 Season 2

Last 30 days Overall leaderboard