WebSite X5Help Center

 
John H.
John H.
User

Contact Form not starting at top of page  en

Autor: John H.
Besucht 1052, Followers 1, Geteilt 0  

I am using the contact form to create a survey. All works great but there is one issue.

I am using the Seperator and tick "Display data in a new field" option

The new field displays ok, however, it starts at the bottom and not the top of the page.

https://garfieldvictoria.com.au/2022-survey.html

Is there a way to have this fixed?

Thanks for any help.

JohnH

Gepostet am
11 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
John H.
John H.
User
Autor

Sorry I meant to say "Display data in a new FRAME"

Mehr lesen
Gepostet am von John H.
Esahc ..
Esahc ..
Moderator

It looks great John, is it the fact that it scrolls up that is annoying you or that when the next frame opens it does not always display the top lines of the form.??

I had a play but this appears to be the default action. Short of adding 3rd party code to overide this I doubt it can be modified.

Mehr lesen
Gepostet am von Esahc ..
John H.
John H.
User
Autor

Thanks for your help Esahc.

The form looks OK just stupid it goes to the bottom of the page first.
Oh well I guess I will need to put a button on the bottom "Click to go to top of page"

Bit weird if you ask me, but hey I'm getting used to some objects just not doing what they should do.

Enjoy your weekend.

Cheers - John

Mehr lesen
Gepostet am von John H.
Дмитрий Тулупов
Дмитрий Тулупов
User
John H.
Thanks for your help Esahc. The form looks OK just stupid it goes to the bottom of the page first. Oh well I guess I will need to put a button on the bottom "Click to go to top of page" Bit weird if you ask me, but hey I'm getting used to some objects just not doing what they should do. Enjoy your weekend. Cheers - John

Good afternoon John.
It can be fixed. Create shorter poll forms for each new "Next" frame. You need to make such a number of polls in a frame that these polls fit on one page without scrolling down. Even smaller can be done to accommodate different screen resolutions of users.
This way you can solve your problem without using third-party codes.
Sincerely,
Dmitriy.

Mehr lesen
Gepostet am von Дмитрий Тулупов
John H.
John H.
User
Autor

Thanks Dmitriy,

What a great idea. Will try that and see what it looks like.

Cheers

John

Mehr lesen
Gepostet am von John H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats PL

... you could solve with my simple and easy inventions, of the kind you have already known and appreciated, and therefore, if you are interested in trying again, let me know and I will come back here...
Hello. ciao

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
John H.
John H.
User
Autor

Hey KolAsim to the rescue....

Of course, I would appreciate your help as always... even using Dmitriy's solution it is going to end up being on a lot of separate pages. I have done them the way I did so they are sort of categorised.

Yes, please come back and show me your magic... LOL

Thanks KolAsim.

Cheers

John H

Mehr lesen
Gepostet am von John H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats PL

... OK ... here is the code for the current "2022-survey" page:

<script>
/** -- ... multiple form + Anchor, by KolAsim --**/
$("document").ready(function() {//K>
anchorK = "#imObjectForm_277_02"; // reference object containing the form
ritardoK = 3; // seconds late
setTimeout(function() { //K1>
$("input[value=Next]").click(function(){
setTimeout(function() { //K2>
x5engine.utils.location(anchorK, null, false);
},500);//K2<<
})
$("input[value=Back]").click(function(){
setTimeout(function() { //K3>
x5engine.utils.location(anchorK, null, false);
},500);//K3<<
})
},ritardoK * 1000);//K1<<
});//K<<
</script>

..................................................

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
John H.
John H.
User
Autor

And once again KolAsim saves the day.

Thanks KolAsim, if I lived closer to where you are I would buy you a drink.

Maybe you should start selling objects that actually don't need adjusting. :-)

Common sense says that when you place a page break somewhere the next page would start at the top not the bottom, or am I reading this wrong. Just a thought for the author of the Forms Object.

Once again, many thanks for coming to the rescue. You have no idea how much I appreciate your input.

Kindest regards,

John H

Mehr lesen
Gepostet am von John H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats PL

...  Thanks, bye...

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪