This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
faq:domain_and_web_hosting:customize-ao-contact-form [2021/08/20 13:03] vikki [3. Uploading the form to your website] |
faq:domain_and_web_hosting:customize-ao-contact-form [2021/08/24 19:31] (current) vikki [(Optional) Changing the contact form file name] |
||
---|---|---|---|
Line 8: | Line 8: | ||
+ | Optional customization: | ||
+ | * [[# | ||
+ | |||
+ | -------------- | ||
===== 1. Downloading and extracting the form ===== | ===== 1. Downloading and extracting the form ===== | ||
Line 19: | Line 23: | ||
{{: | {{: | ||
- | You will find a contact-form.html file within | + | You will find two files within the extracted folder: |
+ | * **contact-form.html**: This is the main file that displays | ||
+ | * **thank-you.html**: | ||
{{: | {{: | ||
+ | |||
+ | Now, let's move on to the next step to see how we can customize the form. | ||
+ | |||
===== 2. Customizing the form ===== | ===== 2. Customizing the form ===== | ||
- | Open the contact-form.html file with a HTML editor or Notepad. | + | Open the **contact-form.html** file with a HTML editor or Notepad. |
The first item to customize is the company name displayed on the form. Within the editor, look up for this line: //<!-- EDITABLE: Company Name -->// where you will see //< | The first item to customize is the company name displayed on the form. Within the editor, look up for this line: //<!-- EDITABLE: Company Name -->// where you will see //< | ||
Line 38: | Line 47: | ||
{{: | {{: | ||
- | Replace sample@email.com with your desired email address. Note that this email address must have the same domain as your website' | + | Replace sample@email.com with your desired email address. Note that this email address must have the same domain as your website' |
{{: | {{: | ||
Line 52: | Line 61: | ||
* Your website FTP login details ([[faq: | * Your website FTP login details ([[faq: | ||
- | Once you have the above details ready, launch the FTP client on your PC. Enter the host, FTP username and password, and connect. | + | Once you have the above details ready, launch the FTP client on your PC. Enter the host, FTP username and password, and connect |
{{: | {{: | ||
- | You may get a certificate warning. If the certificate is *.agnx.com, select " | + | You may get a certificate warning |
{{: | {{: | ||
- | Once you have connected to your web server via FTP, upload | + | Once you have connected to your web server via FTP, upload |
{{: | {{: | ||
Line 67: | Line 76: | ||
{{: | {{: | ||
+ | |||
+ | --------------- | ||
+ | |||
+ | ===== (Optional) Changing the contact form file name ===== | ||
+ | |||
+ | If you want to have a different URL link your contact file instead of yourdomain.com/ | ||
+ | |||
+ | In this example, we want the contact file to be available at yourdomain.com/ | ||
+ | |||
+ | Firstly, open the folder containing the contact form files. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Change the name of contact-file.html to enquiry.html. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Then, open this file with a HTML editor or Notepad. Look for this line: //<input type=" | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Change contact-form.html to enquiry.html, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Next, open the thank-you.html file (with a HTML editor or Notepad). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In this file, look for: //<a href=" | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Replace contact-form.html with enquiry.html. Save the file once you are done. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You can then upload these files to your web server. The contact file will now be available at yourdomain.com/ | ||
+ | |||