I can't program a CUSTOM FORM, sendemail.php doesn't exist in my canvas version.

12 replies · opened Nov 5, 2019

EerudicaoinvestimentosNov 5, 2019

Hello good afternoon. I'm having a problem developing my site forms. I checked the questions solved in this FAQ but none solved my problem. Unfortunately, template-contactform only offers the fields name, phone, email and etc. But I need a field to fill in something similar to the US SSN, address, neighborhood, city, state, and so on.

Other people have had the same problem in 2016 and asked in this FAQ how to solve the problem. However, in the 2019 version there is no "sendemail.php" in the "include /" folder. That's why I can't edit the fields I need.

I could use the "template-contactform-name" tools for the fields I need, but it's not correct and will generate problems in the future. So I need a solution: how to customize a form?

(Below you can check the page's Active URL. You will notice that it is in Portuguese because we are not American. But that won't be a problem reading the code.)

Thanks for the comprehension.

SITE FORM: https://erudicaoinvestimentos.com.br/mesa_proprietaria/pre-cadastro-mesa-proprietaria

EerudicaoinvestimentosNov 5, 2019

										
										
											Nome Completo (conforme documento oficial):
											
										
										
											CPF:
											
										
										
											RG:
											
										
										
											Email:
											
										
										
											Gênero:
											
												
													 Masculino
												
												
													 Feminino
												
											
										
										
											Já teve contato com a Bolsa?
											
												-- Selecione Uma Opção --
												Sim, já opero na Bolsa todo dia.
												Sim, já investi a curto/médio/longo prazo.
												Sim, já operei na Bolsa, mas pouco.
												Sim, mas nunca operei ou investi.
												Nunca tive contato, é a primeira vez.
											
										
										
											Você passou pelo nosso educacional?
											
												
													 Sim
												
												
													 Não
												
											
										
										
											Data de Nascimento:
											
										
										
											Endereço
											
										
										
											CEP:
											
										
										
											Bairro:
											
										
										
											Município:
											
										
										
											
												Estado:
												
													
													AC
													AL
													AP
													AM
													BA
													CE
													DF
													ES
													GO
													MA
													MT
													MS
													MG
													PA
													PB
													PR
													PE
													PI
													RJ
													RN
													RS
													RO
													RR
													SC
													SP
													SE
													TO
												
											
										
										
											
												Plataforma à Contratar
												
													-- Selecione Uma --
													ProfitTraining
													ProfitOne
													ProfitPlus
													ProfitPro
												
											
										
										
											
												Observações e Experiência:
												
											
										

										
											Margem a ser depositada:
											
										

										
											
										
										
											Pré-Cadastrar
										

										
									
SSemicolon WebSTAFFNov 7, 2019

Hello,

We have checked out your Codes and it has several errors. To include your Custom Form Fields inside the Form, make sure that the Form Inputs name Attribute is properly configured and matches the prefix defined in your Form. Example: name="plataforma" should be replaced with name="event-registration-plataforma" . This would be applicable for all the Form Inputs. Additionally, we have also noticed that your Forms have Mixed Elements as a result of combination from different forms. Make sure that all your Form Inputs name Attribute start with event-registration- prefix and your Form ID is event-registration. Make sure that you follow the Documentation > Forms Section for complete instructions on how to use Forms.

Additionally, in the Latest Versions of Canvas, the more flexible and powerful include/form.php File is used instead of include/sendemail.php File which was used in the Older Versions of Canvas.

This will definitely fix your issues. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

EerudicaoinvestimentosNov 8, 2019

Good morning gentlemen. I managed to fix the issues that were pointed out by the Support Team, however the problem persists. The hourglass icon, which indicates site load, continues to run but does not send any emails.

Other forms on the site work because they are not customized. They are standard forms. This is the only custom form for the entire site, and it doesn't work at all, even after the changes.

The "include / form.php" file is set correctly, as directed by the documentation.

There were really a lot of errors in the code in my last answer, but now that they have changed, I no longer understand why. The ID has been corrected for "event-registration" and all fields have "name" and "id" with prefix "event-registration-". But since the fields are not written in English, the field names are in Portuguese. That is: instead of writing "event-registration-name" is written "event-registration-nome". Instead of "event-registration-platform" is written "event-registration-plataforma". Does this cause a problem?

I am uploading the files, and the Active URL remains the same as I provided in previous replies.

Thanks in advance, Erudição Investimentos.

EerudicaoinvestimentosNov 8, 2019

Archives

EerudicaoinvestimentosNov 8, 2019

									
										
										
											Nome Completo (conforme documento oficial):
											
										
										
											CPF:
											
										
										
											RG:
											
										
										
											Email:
											
										
										
											Gênero:
											
												
													 Masculino
												
												
													 Feminino
												
											
										
										
											Já teve contato com a Bolsa?
											
												-- Selecione Uma Opção --
												Sim, já opero na Bolsa todo dia.
												Sim, já investi a curto/médio/longo prazo.
												Sim, já operei na Bolsa, mas pouco.
												Sim, mas nunca operei ou investi.
												Nunca tive contato, é a primeira vez.
											
										
										
											Você passou pelo nosso educacional?
											
												
													 Sim
												
												
													 Não
												
											
										
										
											Data de Nascimento:
											
										
										
											Endereço
											
										
										
											CEP:
											
										
										
											Bairro:
											
										
										
											Município:
											
										
										
											
												Estado:
												
													
													AC
													AL
													AP
													AM
													BA
													CE
													DF
													ES
													GO
													MA
													MT
													MS
													MG
													PA
													PB
													PR
													PE
													PI
													RJ
													RN
													RS
													RO
													RR
													SC
													SP
													SE
													TO
												
											
										
										
											
												Plataforma à Contratar
												
													-- Selecione Uma --
													ProfitTraining
													ProfitOne
													ProfitPlus
													ProfitPro
												
											
										
										
											
												Observações e Experiência:
												
											
										

										
											Margem a ser depositada:
											
										

										
											
										
										
											Pré-Cadastrar
										

										
									
								
EerudicaoinvestimentosNov 11, 2019

Good morning gentlemen. I have a problem with my form. The hourglass icon, which indicates the site load does not send emails.

Other forms on the site work because they are not customized. These are standard forms. However, the form I'm having issues with is the only custom form on the site and it doesn't work.

The "include / form.php" file is set correctly as indicated in the documentation.

The ID has been set to "event-registration" and all fields have "name" and "id" prefixed with "event-registration-". But since the fields are not written in English, the field names are in English. That is: instead of writing "event-registration-name" is written "event-registration-nome". Instead of "event-registration-platform" is written "event-registration-plataforma". Does this cause any problems?

I am uploading files and the active URL remains the same as the previous answers.

Thanks in advance, Erudição Investimentos.

EerudicaoinvestimentosNov 11, 2019

										
										
											Nome Completo (conforme documento oficial):
											
										
										
											CPF:
											
										
										
											RG:
											
										
										
											Email:
											
										
										
											Gênero:

											
												
												Masculino
											
											
												
												Feminino
											
										
										
											Já teve contato com a Bolsa?
											
												-- Selecione Uma Opção --
												Sim, já opero na Bolsa todo dia.
												Sim, já investi a curto/médio/longo prazo.
												Sim, já operei na Bolsa, mas pouco.
												Sim, mas nunca operei ou investi.
												Nunca tive contato, é a primeira vez.
											
										
										
											Você passou pelo nosso educacional?

											
												
												Sim
											
											
												
												Não
											
										
										
											Data de Nascimento:
											
										
										
											Endereço
											
										
										
											CEP:
											
										
										
											Bairro:
											
										
										
											Município:
											
										
										
											
												Estado:
												
													
													AC
													AL
													AP
													AM
													BA
													CE
													DF
													ES
													GO
													MA
													MT
													MS
													MG
													PA
													PB
													PR
													PE
													PI
													RJ
													RN
													RS
													RO
													RR
													SC
													SP
													SE
													TO
												
											
										
										
											
												Plataforma à Contratar
												
													-- Selecione Uma --
													ProfitTraining
													ProfitOne
													ProfitPlus
													ProfitPro
												
											
										
										
											
												Observações e Experiência:
												
											
										

										
											Margem a ser depositada:
											
										

										
											
										
										
											Pré-Cadastrar
										

										
									
SSemicolon WebSTAFFNov 12, 2019

Hello,

Thanks for your Patience!

We have checked out your Form and the HTML appears to be perfectly fine and there appears to be an issue with your include/form.php File: https://erudicaoinvestimentos.com.br/mesa_proprietaria/pre-cadastro-mesa-proprietaria/include/form.php which is returning a 500 Internal Server Error. A 500 Internal Server Error indicates that your Server does not support some PHP functionality or there is an error in the PHP File while editing the codes. Please consider adding the following code at the very top of your include/form.php File:

error_reporting(E_ALL);

which should display all the possible errors. Please notify us about the Error Message you see, after going through the process above, so that we can provide you with more assistance on this.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

EerudicaoinvestimentosJan 3, 2020

I managed to solve the problem. I had abandoned this part of the site to deliver the work, but today I returned to resolve this situation. It was a stupid mistake, it was: "include / form.php" but as the page was in another folder you had to go up one level: "../include/form.php". This was the only problem.

"Error 500" appeared because the file was not being found.
Thanks for all the help!

SSemicolon WebSTAFFJan 5, 2020

Hello,

Glad that your issues were resolved. Thanks for your Patience.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard