Converting to Form and error message fields

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
User avatar
bburgess
 
 
Posts: 129
Joined: Mon May 13, 2013 5:05 am
Location: Australia

Converting to Form and error message fields

Post 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!
KISS is the key!
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Converting to Form and error message fields

Post 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.
User avatar
bburgess
 
 
Posts: 129
Joined: Mon May 13, 2013 5:05 am
Location: Australia

Re: Converting to Form and error message fields

Post 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
KISS is the key!
Post Reply