Appnitro Software Forums » MachForm 2

autoscroll to top of page after form submit


  1. Hello everyone,

    First up, i have to say what a great work these guys have done on Machforms, really well worth the money spent.

    Anyway, I have 2 very lengthy forms and i'd like to know if there's any way i can auto scroll back to the top after submission. What's happening now is that the page does not get scrolled up to the top so after submitting, the user is faced with a blank screen which may seem confusing.

    Big thanks in advance for any help.

    Cheers.

    Posted 4 months ago #
  2. Just to add on to this.. when there is an error on the form.. for instance, a user keys in an invalid email. The page does not auto focus on the erroneous field. Does anyone else have the same issue as i do? Thanks very much in advance!

    Posted 4 months ago #
  3. Hi there,

    If possible, I suggest to use the Advanced Form Code (php code) to embed your form.
    This would avoid the auto scroll issue.

    If that's not possible, you might want to try implement this javascript:
    http://www.appnitro.com/forums/topic/auto-expandadjustable-iframe?replies=50


    MachForm Founder

    Posted 4 months ago #
  4. Hey yuniar, thanks very much for the advice.. I tried the php method but when the error message came out, it blocked off the erroneous fields such that the user is unable to correct it. Is there any way to fix this?

    I figured the best way would be to use an external success page.. but even then, the page does not auto focus to the error, instead it just moves half an inch up and the user has to manually scroll back to check which fields are in error.

    Posted 4 months ago #
  5. if it helps, you can check out http://effective.sg/unioncorp-html/contact.html

    This is the error where the error message blocks out the field. I'm using the php embed version on this page.

    Posted 4 months ago #

RSS feed for this topic

Reply