Aeon 5.0 and Later Default Web Pages
You can change the label text displayed for a button on the Aeon web interface by editing the HTML file where the code for the button is located. For example, on the login page, the button for a default installation reads "Logon to Aeon". If you wanted to change the button text to just "Logon", then you would make the changes to the HTML for the button following the instructions below:
- Open the Logon.html file in your Aeon web directory in a text editing application such as Notepad++ or within the GitHub editor.
-
Locate the line of code for the "Logon to Aeon" button near the end of the file:
<button class="btn btn-primary btn-md" type="submit" name="SubmitButton" value="Logon to Aeon">Logon to Aeon</button>
-
Change the label text by modifying the text located between the <button> element tags (i.e., the text directly before the </button> closing tag):
<button class="btn btn-primary btn-md" type="submit" name="SubmitButton" value="Logon to Aeon">Logon</button>
Note: Do not alter the text in the value attribute of the button element. - Save your changes. The button will now display with the new label text.
- For this example, you would also need to repeat these steps for the Logon2.html file as this is the login page displayed if the user incorrectly enters their username or password.
Aeon 4.1 and Earlier Default Web Pages
Button Text
All of the buttons on each page are named "SubmitButton". The label text determines the function of the button.
When Aeon is installed, the state of the buttons is synced with the WebFormValues table located in the Customization Manager under Web Interface | Labels. Note that the table is empty by default so you will need to add a record for any buttons you wish to change.
If you want to change the text of the button on a form, you must make the same text change in the WebFormValues table or you won't get a results page when the button is pressed.
Web Form Values
The WebFormValues table allows you to tell the Aeon DLL about changes made to the text buttons on the HTML pages.
The structure and the field definitions for this table are as follows:
Field Name |
Description |
---|---|
FormName |
This field shows which web page in Aeon is referenced by this entry. |
SubmitButtonValue |
This field shows the default value of the button text. DO NOT change this field. |
SubmitButtonText |
This field shows the changed value of the button text. This is the field you change when you make changes to the HTML. |
An Example of Editing Button Text
On the login page, the button from a default installation reads "Logon to Aeon". If you wanted this to say just "Logon", then you would make two changes.
- First, you would make the change on the HTML page, directly to the HTML text.
- Second, you would make a change to the SubmitButtonText field in the WebFormValues table. This field would change to reflect the new text on the button.
You would also need to change the logon2.html page in this example since it is displayed if the user incorrectly enters their username or password.