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 / Form submits automatic...
Power Pages
Unanswered

Form submits automatically after clicking on other custom button on page

(0) ShareShare
ReportReport
Posted on by 4

Hi, 

 

We are having a problem combining a custom form and custom buttons on the same page. If I add a custom form to a page together with a custom image slider with custom buttons and I click on the custom button of the image slider, the page automatically scrolls to the form and the form is suddenly sent. Both should have nothing to do with each other. What is the problem and how can I solve it?

 

Can't add a link to see the problem, because it's on test environment. 

Categories:
I have the same question (0)
  • domliu37 Profile Picture
    314 Super User 2024 Season 1 on at

    Hi @ftruijens ,

     

    Might need more information for this issue, sounds like everything is custom made, what Power Pages components did you use?

     

    Cheers,

    Dom

  • ftruijens Profile Picture
    4 on at

    Hi @domliu

     

    Thanks for your reply. Not everything is custom made, but a lot is. We are using out of the box Text sections for example, but we have also made custom image sliders, custom call to action blocks and custom form fields. If we combine different custom elements (with custom buttons) together with the custom form on 1 page it goes wrong. After clicking on the button beneath the image slider the pages automatically scrolls to the top of the form and shows validation text that fields are still empty. It looks like the button click in the image slider is submitting the form which we don't want. 

     

    Do you need more info? 

     

    Thanks in advance. 

     

    Greetings, 

     

    Fanny

  • ftruijens Profile Picture
    4 on at

    Please see attachment. I've added 2 screenshots of the custom image slider and the custom form. If i click on the 'verder/next' button in the image slider the page automatically scrolls to the top of the form. 

    Schermafbeelding 2023-11-01 om 11.48.38.png
    Schermafbeelding 2023-11-01 om 11.48.59.png
    image.png

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard