12/7/2018 9:04 PM | |
Posts: 33 Rating: (1) |
Hi , When you use an button with submit type you need delare a method type to this form (GET or POST) and is not usually configure a lot of submit buttons to the same form. Search about AJAX (XmlHttpRequest) to send command from page to webserver , this is one way to do this. Other way to do the same thing is use JQuery and a S7 Framework (Javascript Library developer to Siemens Team) you will find detailed steps in this application exemple: Exemple Webserver - S7 1200 and S7 1500
Regards,
|
Last edited by: Felipe.Maia at: 12/7/2018 9:12:50 PMLast edited by: Felipe.Maia at: 12/7/2018 9:13:41 PMLast edited by: Jen_Moderator at: 12/10/2018 8:21:11 AMOptimized link. |
|
12/7/2018 11:39 PM | |
Joined: 7/7/2010 Last visit: 9/6/2024 Posts: 15157 Rating: (2415) |
To enhance the last post, this link may help explain what they are saying: https://www.w3schools.com/html/html_forms.asp This site is very good at explaining how to use html in general to perform specific tasks. That site combined with the s7-1500 webserver usage help should help you jump start your html pages. |
science guy |
|
1/7/2019 9:27 AM | |
Joined: 10/2/2014 Last visit: 8/26/2024 Posts: 88 Rating: (15) |
hi, yes that should work anyway as default action is post and default URL is the one, where the form is placed. of course you are right, the syntax is not valid HTML - but the browser are more or less "intelligent" to solve such invalid syntax by using the default values.... https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Your_first_HTML_form Regards |
Follow us on