|
Rewrite formdata or change inlinecode
|
|
May. 19, 2011, 10:16 AM
(This post was last modified: May. 19, 2011 10:21 AM by acsgc.)
Post: #1
|
|||
|
|||
|
Rewrite formdata or change inlinecode
Hello,
I'm not familiar with scripting at all, so I aprreciate any help I can get. What I'm trying to do. I have an router with a webform (https) and I need to fill out on field with data. When I sent the form this field is checking my input via inline code and is not accepting my input. These checks are nonsense and I need to get rid of these check or at least I need to set another value inside an if-Loop, where the script checks my value if it is between to given values. So I need to extend this. Or alternativly I need to change my send data after the script checked my input and before sending the data to the router. But how can I do that. Is there anybody who did something already? Any help is welcome Regards Oliver This is the code of the Config-Webpage where I need to change the highlighted value: if(document.forms[0].ZDAT3_mtu.value=="" || isNValidInt(document.forms[0].ZDAT3_mtu.value) || document.forms[0].ZDAT3_mtu.value<1440 || document.forms[0].ZDAT3_mtu.value>1492) { alert(mld10_NetzwerkWAN); document.forms[0].ZDAT3_mtu.value = ""; document.forms[0].ZDAT3_mtu.focus(); return false; } break; } |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Rewrite formdata or change inlinecode - acsgc - May. 19, 2011 10:16 AM
RE: Rewrite formdata or change inlinecode - JJoe - May. 20, 2011, 02:37 AM
|

Search
Member List
Calendar
Help




![[-]](images/ONi/collapse.gif)