wongerlt Posted July 27, 2017 Posted July 27, 2017 Hello. How i can add default value to edit box? example <edit var=\"search\" width=120 height=15 val=?? value=??> not working with val or value Quote
0 SweeTs Posted July 27, 2017 Posted July 27, 2017 If it's about a value which you have to insert, hardcode it, int value = st.hasMoreTokens() ? Integer.parseInt(st.nextToken()) : 1; Quote
0 vampir Posted July 27, 2017 Posted July 27, 2017 Hello. How i can add default value to edit box? example <edit var=\"search\" width=120 height=15 val=?? value=??> not working with val or value It can only be done in Community Board by messing with ShowBoard packet. Quote
0 wongerlt Posted July 28, 2017 Author Posted July 28, 2017 If it's about a value which you have to insert, hardcode it, int value = st.hasMoreTokens() ? Integer.parseInt(st.nextToken()) : 1; No. i want set default value, example like in html: <input type="text" id="myText" value="Test"> and in edit field will be text: "Test" But how to do it on Interlude with edit tag? Quote
0 melron Posted July 28, 2017 Posted July 28, 2017 Do you remember clan notice? I bet you do. Check how the notice appearing in the combobox when a leader want to edit it. There isn't any tag or amything like that... it's a whole code. Btw vampir answered you twice. Quote
0 wongerlt Posted July 28, 2017 Author Posted July 28, 2017 yes, now i see it send with showbard packets. Quote
Question
wongerlt
Hello.
How i can add default value to edit box?
example
<edit var=\"search\" width=120 height=15 val=?? value=??> not working with val or value
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.