Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
Can you make the text form field not allow someone to press the enter key and
start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
You can't restrict using the Enter key without using VBA.
What you CAN do is place the field in a table cell and set the height of the table row to EXACTLY a specific height. Then, they can still hit enter, but they won't see anything... ************ Hope it helps! Anne Troy www.OfficeArticles.com "HelpingHandUp" wrote in message ... Can you make the text form field not allow someone to press the enter key and start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
thanks I will try this out, appreciate your quick response
"Anne Troy" wrote: You can't restrict using the Enter key without using VBA. What you CAN do is place the field in a table cell and set the height of the table row to EXACTLY a specific height. Then, they can still hit enter, but they won't see anything... ************ Hope it helps! Anne Troy www.OfficeArticles.com "HelpingHandUp" wrote in message ... Can you make the text form field not allow someone to press the enter key and start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
i'm trying to create a table whereby the row heights are set at EXACTLY (in
Microsoft Word 2003), but when I specify the row height and make it EXACTLY, when I go back to this row, it has self-changed back to "AT LEAST". I don't know what i'm doing wrong. "Anne Troy" wrote: You can't restrict using the Enter key without using VBA. What you CAN do is place the field in a table cell and set the height of the table row to EXACTLY a specific height. Then, they can still hit enter, but they won't see anything... ************ Hope it helps! Anne Troy www.OfficeArticles.com "HelpingHandUp" wrote in message ... Can you make the text form field not allow someone to press the enter key and start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
I'd say that the table may be corrupt. Convert to text, copy into another
document, and then recreate the table structure. -- Stefan Blom Microsoft Word MVP "BB" wrote in message ... i'm trying to create a table whereby the row heights are set at EXACTLY (in Microsoft Word 2003), but when I specify the row height and make it EXACTLY, when I go back to this row, it has self-changed back to "AT LEAST". I don't know what i'm doing wrong. "Anne Troy" wrote: You can't restrict using the Enter key without using VBA. What you CAN do is place the field in a table cell and set the height of the table row to EXACTLY a specific height. Then, they can still hit enter, but they won't see anything... ************ Hope it helps! Anne Troy www.OfficeArticles.com "HelpingHandUp" wrote in message ... Can you make the text form field not allow someone to press the enter key and start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
You can use this code for entire application, even if your page contains multiple forms and they have different IDs. Just put this code inside a common js file and include it in every page. $(function() { $("form").bind("keypress", function(e) { if (e.keyCode == 13) return false; }); }); 'Eliza' (http://tinyurl.com/yhzofvy) -- elizas ------------------------------------------------------------------------ elizas's Profile: 1654 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=82539 http://www.thecodecage.com/forumz/chat.php |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
Since you have not quoted the original question, it's difficult to tell, but it sounds as if you are providing a solution for a Web page/site, not a protected form in Word. In any case, you have replied to a question so old it has scrolled off the MS server where it was originally posted. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "elizas" wrote in message ... You can use this code for entire application, even if your page contains multiple forms and they have different IDs. Just put this code inside a common js file and include it in every page. $(function() { $("form").bind("keypress", function(e) { if (e.keyCode == 13) return false; }); }); 'Eliza' (http://tinyurl.com/yhzofvy) -- elizas ------------------------------------------------------------------------ elizas's Profile: 1654 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=82539 http://www.thecodecage.com/forumz/chat.php |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
Yes, you can, but it takes vba and essentially changes your Enter key into a
Tab key when you are in the document. You can find a link to this solution at http://addbalance.com/word/wordwebresources.htm#Forms. You may also want to look at http://www.word.mvps.org/FAQs/TblsFl...nesInForms.htm. Hope this helps, -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "HelpingHandUp" wrote in message ... Can you make the text form field not allow someone to press the enter key and start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word Form Fields
Awesome, I was thinking this but I have not used vba just taught it for 4
years. I retired last year after being a programmer/system analyst/trainer for 40 years and I wanted to continue help train the workforce on Microsoft Office from my home so that I don't have to travel in my old age and spend money on gas. It is so cool to share info with experts. Thanks a lot I will try this out and let you know what happens. "Charles Kenyon" wrote: Yes, you can, but it takes vba and essentially changes your Enter key into a Tab key when you are in the document. You can find a link to this solution at http://addbalance.com/word/wordwebresources.htm#Forms. You may also want to look at http://www.word.mvps.org/FAQs/TblsFl...nesInForms.htm. Hope this helps, -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "HelpingHandUp" wrote in message ... Can you make the text form field not allow someone to press the enter key and start and new line and change the lines in the form. When the text field is inserted, length changed to 15 characters and the protect put on, you can tab to the field, type 15 characters and it will stop, but when you press enter key it goes down and adds more lines?? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can Word display full path of a file in the title bar? | Microsoft Word Help | |||
is word perfect compatible with office word? | Microsoft Word Help | |||
Envelope Address | New Users | |||
In Word, how can I see all files (*.*) in "save as"? | New Users | |||
creating forms | Microsoft Word Help |