ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Able to generate Error message on the same page?

July 26, 2007 10:55pm

Subscribe [2]
  • #1 / Jul 26, 2007 10:55pm

    pete_sampras

    4 posts

    Morning,

    Not sure if the message i posted yesterday got to you guys. I am going to type out the question again.

    Initial Question:
    For example, when i do not enter a password when i try to sign in to my yahoo account, i get an error in red on the same page, beside the password text box
    e.g: https://login.yahoo.com/config/mail?.intl=us

    So my question is, are we able to generate the error message just beside the text box.

    Because from what i understand, we are always brought to an error page, that contains the error message.

    If we are able to, where i can find out how?

    MANY THANKS! ANY HELP IS APPRECIATED.

    Reply from EE:
    As for the error messages, no, those can’t be displayed on the same page ‘out of the box’.  You might could do it with an iframe or ajax or some other creative solution.  I’m pretty sure I’ve seen it done with an iframe.  But the default setup, user messages are displayed in a new window.


    Follow up Question:
    Sorry for not being clear. I am not the actual person doing the programming, so please excuse my non technical terms, and am seeking clarification as my web dev’s say the following is impossible to do.


    1. Is it possible to have iframe or AJAX in the current version of EE, as my web dev says otherwise. I understand that this cannot be done out of the box
    2. So assuming i have a password text box. When the user enters a password incorrectly, i want the message “incorrect password” to be displayed beside the password text box? So this can be done?
    3. If so, can you please guide me to the resources on how we can go about doing it. Thanks.

  • #2 / Jul 26, 2007 11:26pm

    Sue Crocker

    26054 posts

    I haven’t seen anyone that has done what you are requesting. You can do iframes inside of EE, I’ve done them before.

    I’ve moved this to the HowTo forum to have more eyes looking at what you want to do.

  • #3 / Jul 26, 2007 11:31pm

    pete_sampras

    4 posts

    Thank you very much SUE!!

    So is iframes able to achieve what i am trying to do? Thanks.

  • #4 / Jul 27, 2007 12:24am

    Sue Crocker

    26054 posts

    So is iframes able to achieve what i am trying to do? Thanks.

    I honestly don’t know. But there may be someone else that has done something similar.

  • #5 / Jul 27, 2007 12:26am

    pete_sampras

    4 posts

    Ok. Anyhow, thank you so for all the help thus far.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases