Page 1 of 1

Converting to Form and error message fields

Posted: Sun Apr 23, 2017 1:38 am
by bburgess
Hi Pablo :)

I hope I can get this across ok, if not I will do a video :D

Ok so I am converting all the login tools to forms and theny styling them.

The Change Password Object from the tool box, once converted has all the fields, and one HTML Object for the .php and one HTML Object for the error message.

Code: Select all

<span style="color:#FF0000;font-family:Arial;font-size:19px;"><?php echo $error_message; ?></span>
Thats all good! and when displayed in a browser the HTML Object is not seen and is not accessable, as it should be.

However the other Login Tools such as, Signup and Edit Profile have an "editbox" displaying the php error code and when seen in a browser the edit box is not visable but is accessable and you can type into it.

Question can I just copy the html object from Change Password from and use in the others?

I will test this later today, as it looks like I should be able to, but I thought I should ask.

Cheers
BB

Edit 15:05: Tested the HTML change and thats working fine! :)

I guess my question now is, should the other error coeds be displayed in an edit box? or should they be generated in a HTML Object?

Cheers!

Re: Converting to Form and error message fields

Posted: Sun Apr 23, 2017 7:36 am
by Pablo
The conversion to an edit box was chosen just because it is easier (programmatically) to do the conversion.
If you set the editbox to disable and read only then it should no longer be accessible.

Re: Converting to Form and error message fields

Posted: Mon Apr 24, 2017 3:17 am
by bburgess
Pablo wrote: Sun Apr 23, 2017 7:36 am The conversion to an edit box was chosen just because it is easier (programmatically) to do the conversion.
If you set the editbox to disable and read only then it should no longer be accessible.
Arrhhh this makes sense, thanks Pablo! As you can tell I am no coder lol.

Cheers
BB