0

zk link within a same page

asked 2017-05-22 15:29:47 +0800

ofaruk gravatar image ofaruk
5 1

I want to use a button for registration form, if form filled correctly, button navigates another page; if form filled wrong, button navigates up of the same page

Thanks;

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2017-06-10 13:25:32 +0800

Darksu gravatar image Darksu
1991 1 4

Hello ofaruk,

If the form is filled wrong you could show a error notification, and use javascript to go to the beginning of the page.

https://www.w3schools.com/howto/howtojsscrolltotop.asp

Else you could redirect to another page.

Best,

Darku

link publish delete flag offensive edit
0

answered 2017-06-14 08:54:38 +0800

ofaruk gravatar image ofaruk
5 1

I want to design page in navigation, top of the page there will be links that navigates bottom of same page

[Link1]

[Link2]

[Link3]

Link1 navigates here

*Something here

Link2 navigates here

*Something here

Link3 navigates here

*Something here

link publish delete flag offensive edit
0

answered 2017-06-02 07:25:22 +0800

JustinFrost gravatar image JustinFrost
139 1 6

How are you doing your validation. Are you using MVC or MVVM ?

You should be able to do a:

Executions.sendRedirect('url');

to redirect to a different page.

Executions.sendRedirect('');

Will refresh the current page.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-05-22 15:29:47 +0800

Seen: 44 times

Last updated: Jun 14 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More