why when the form is sent the data is not detected or not entered | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

why when the form is sent the data is not detected or not entered

https://code.sololearn.com/WPTd2SIgj1Mw/?ref=app

21st May 2019, 10:07 AM
Avirur Rahman
Avirur Rahman - avatar
8 Answers
+ 2
You have not linked the data to the mailto - you need to code in where to get the information from: https://stackoverflow.com/questions/35871596/html-mailto-insert-body-in-mail-from-variable
21st May 2019, 10:40 AM
Rincewind
Rincewind - avatar
+ 4
devisfun thanks👍
21st May 2019, 1:19 PM
Avirur Rahman
Avirur Rahman - avatar
+ 3
devisfun already successful and whether to get the value must use a different id each input and variable, I have tried with one id in all inputs but only the first input is displayed
21st May 2019, 12:06 PM
Avirur Rahman
Avirur Rahman - avatar
+ 3
devisfun does this support anywhere, I try to run the code other than in sololearn it can't work when the form is sent
21st May 2019, 3:41 PM
Avirur Rahman
Avirur Rahman - avatar
+ 3
devisfun can this code be run in the chrome browser
22nd May 2019, 12:02 PM
Avirur Rahman
Avirur Rahman - avatar
+ 1
Avirur Rahman yes you’ll need to use different ids or it won’t work.
21st May 2019, 1:09 PM
Rincewind
Rincewind - avatar
+ 1
I've tidied it up here for you, I've tested it and it works: https://code.sololearn.com/W2ssd4uvpFU0/#html My main tip would be learn to indent your work properly, it makes it easier for you to read and can affect your code if you do it wrong.
22nd May 2019, 7:13 AM
Rincewind
Rincewind - avatar
+ 1
I'm afraid I don't have access to Chrome, so you'll have to do some debugging yourself if it isn't working : )
22nd May 2019, 12:03 PM
Rincewind
Rincewind - avatar