この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
I want to have all entered text populated into specific text fields to automatically convert to upper case. I am working in LiveCycle Designer ES2.
解決済! 解決策の投稿を見る。
I am not sure how to place the code to get it working. Cannot get it to work.
表示
返信
いいね!の合計
I have shared the new form, where value change in the same textfield.
Can you please share the new form you shared above where value change was in the same textfield with me?
Thank you
Do you want the entire form I created or simply the code used for the text field?
表示
返信
いいね!の合計
I have played around with my scripts and I think I have figured it now.
But maybe you can help me with something else. I have one field for comments. Some of my users all use uppercase and the sentences become hard to read. Is it possible to convert sentences to lower case?
Sonya Patton
Administrative Assistant to the Director,
International Outreach Division
P.O. Box 140800 | Nashville, TN 37214-0800
PH 615.564.5000 :: FX 615.564.6000
spatton@gideons.org | www.gideons.org
I am heading to a meeting right now. Will send email later when I get back home.
表示
返信
いいね!の合計
Thank you very much.
Sonya Patton
Administrative Assistant to the Director,
International Outreach Division
P.O. Box 140800 | Nashville, TN 37214-0800
PH 615.564.5000 :: FX 615.564.6000
spatton@gideons.org | www.gideons.org
If you want to convert the uppercase into the lowercase you can use below script
xfa.event.change = xfa.event.change.toLowerCase();
You need to use this script on change event of textfield.
表示
返信
いいね!の合計
Will you be able to send the email today?
Sorry, got back very late last night.
Use this code in the change function for the text field
xfa.event.change = xfa.event.change.toUpperCase();
Joe Yuskaitis
JCY Tournaments LLC
201-203-1816 office
201-220-3049 mobile
201-625-6402 fax
joeyuskaitis@jcytournaments.com<mailto:joeyuskaitis@jcytournaments.com
表示
返信
いいね!の合計
No problem. I tried that but it keeps giving me an error.
Will that work with sentences? Because I do want the first word of the each sentence to stay uppercase.
Thanks for your help.
xfa.event.change = xfa.event.change.toLowerCase();
Sorry, you need the lower case code. See above. Just overwrite the Upper to Lower in your code. I do not have code for capitalizing the first word of each sentence. I only have code to capitalize the first letter only in a field. I have not yet encountered a need for the sentence issue.
Hope that helps.
表示
返信
いいね!の合計
@ Vipin Bhargava in reference to post #21. I do not see the "new form" that replaces the text in the same textfield. Can you share it with me? I would greatly appreciate it.
I have shared the new form, where value change in the same textfield.
表示
返信
いいね!の合計
I have uploaded the form, please check the below URL
https://workspaces.acrobat.com/?d=1vGCuh5UZeV4RMtV0Idt7g
Thanks,
Vipin
表示
返信
いいね!の合計