Copy link to clipboard
Copied
In the attached screenshot, I want to make the note field fillable. But the problem is, on Acrobat acrobat DC, I can't find any option to achieve what I want. I want to put the textbox but there is no option to make the text box size other than rectangle or square. So, is it possile I could make the text box in such a way that can fit the format of the note section shown in the screenshot?
Thank you for your help!:)
Copy link to clipboard
Copied
Here is custom keystroke javascript that allows to do that:
if (event.fieldFull) {
getField("NOTE.1").setFocus();
}
I also added a reset button (set as visible but doesn't print) that clears the notes and a custom format script to the "take notes main textfield so you can see other possibilities with Acrobat javascript
if (!event.value) {
event.value = "Wrte down your thoughts. Take Notes!";
event.target.display = display.noPrint;
} else {
event.target.display = display.visible;
}
Here's the sample: SAMPLE2
Copy link to clipboard
Copied
See the example I created with your shared screenshot.
Let me know if that works
Copy link to clipboard
Copied
Thank you for your reply. That's what I want but not exactly! I don't want to click everytime to go to the next cell(or line). Is there a way I could make it flow as I write and can use "Enter" to go to the next line just like we do in most of the text based apps?
Copy link to clipboard
Copied
Setting the tabbing structure by row allows to move to the next line or field with the TAB key.
However, you can incorporate a javascript to continue to write on the next line when the current text field is full.
Copy link to clipboard
Copied
Javascript one sounds promising! However, I don't think I can be able to write it as I don't have much knowledge about JS.
Thank you so much for your precious time and effor to help me!:)
Copy link to clipboard
Copied
I added the script on the first 10 lines.
All you have to do is chasnge the name of the text field to set focus to the next text field.
Open the Prepare Form tool, right-Right-click on the field that you want to use the script and select "Properties" from the context menu. Then go to the "Format" tab and click on the Custom Keystroke Button and paste the script that I posted there.
See slide:
Copy link to clipboard
Copied
Thank you so much! Is it possibe to use a loop here so that I don't have to do it for every field?
Copy link to clipboard
Copied
Yes, you're welcome , happy to help.
I think it is possible to use a for loop but I may also be wrong. I am still learning javascript and I am not sure how to accomplish that yet. I can try though.
Copy link to clipboard
Copied
Ohh that's great to know! I was making my mind to learn JS. After knowing what I can do with JS, I think it's worth a shot!:)
Copy link to clipboard
Copied
Here is custom keystroke javascript that allows to do that:
if (event.fieldFull) {
getField("NOTE.1").setFocus();
}
I also added a reset button (set as visible but doesn't print) that clears the notes and a custom format script to the "take notes main textfield so you can see other possibilities with Acrobat javascript
if (!event.value) {
event.value = "Wrte down your thoughts. Take Notes!";
event.target.display = display.noPrint;
} else {
event.target.display = display.visible;
}
Here's the sample: SAMPLE2
Copy link to clipboard
Copied
I have one more question. Can I stop the warning sound at the end of switcing the cell?
Copy link to clipboard
Copied
I am actually trying to figure that out. I wasn't expecting that. But it seems like an audible preference that can be disable. I have to document myself better.
Copy link to clipboard
Copied
No problem. I am sure you can figure it out!:)

