as follows:I would like to insert a default string of text into a given field upon pressing a button
I have a button (the intentionally will not show when printed) I can use to insert the current date. The code used is
I have a button (the intentionally will not show when printed) I can use to insert the current date. The code used is
You're trying to guess how the code should work... That's a bad idea.
This line is incorrect:
fld.value = util.printd("Individual was charged with --- and was found guilty, with loss of good time. First day out of lock-in will be ---",new Text());
Use this instead:
fld.value = "Individual was charged with --- and was found guilty, with loss of good time. First day out of lock-in will be ---";
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.