since ‎02-05-2013
‎10-12-2019
Radhika_Magaji
Level 1
Re: Event on buttons of messagebox alert in designer Radhika_Magaji - Adobe LiveCycle
Hi Niall,Is there a way to have just one OK button and the 'X' button to close the window? I tried with all combinations and i see that only when you have "OK" and "Cancel" OR "Yes", "No" and "Cancel" options(that is - xfa.host.messageBox("Hello World!",3,1); or xfa.host.messageBox("Hello World!",3,3);) is when u get the 'X' button to close.I have a popup with a long message content which should just have one "OK" button. But since the message content is long, it is difficult to accommodate the ...
658
Views
0
Likes
0
Answers
Re: Livecycle Image field upload issue with .tiff/.tif format Radhika_Magaji - Adobe LiveCycle
Yes the code works perfectly fine for me.The issue is just the .tiff/.tif upload! Could you please re-create these steps and check ?I am facing issues uploading file with .tif/.tiff formats. Below are the steps explaining the issue.1. Click on the "Image Field" to upload file(.tif/.tiff formats)2. Browse window opens and I select file with tif/.tiff format.3. Image is successfuly uploaded.4. Now, I decide to replace the image with another tif/.tiff format file.5. Repeat steps1-26. Upon selecting...
301
Views
0
Likes
0
Answers
Re: How do I change an objects value type depending on a Y/N Radio button? Radhika_Magaji - Adobe LiveCycle
Hi again radzmar!What if i want to restrict user from using the arrow keys within radio button??I have 3 options in on radio group where the 2nd and 3rd options are protected. Ofcourse tab order does not work there but when the focus is on the first option, i am still able to move to the next options (2nd and 3rd) with arrow keys and they get selected despite them being "protected".This happens only when i use arrow key and now while using mouse!Please help! Thanks,Radhika Magaji
193
Views
0
Likes
0
Answers
Re: set tab order bettween radio buttons Radhika_Magaji - Adobe LiveCycle
Hi!What if i want to restrict user from using the arrow keys within radio button??I have 3 options in on radio group where the 2nd and 3rd options are protected. Ofcourse tab order does not work there but when the focus is on the first option, i am still able to move to the next options (2nd and 3rd) with arrow keys and they get selected despite them being "protected".This happens only when i use arrow key and now while using mouse!Please help! Thanks,Radhika Magaji
286
Views
0
Likes
0
Answers
Re: Tab order issue Radhika_Magaji - Adobe LiveCycle
Hi!What if i want to restrict user from using the arrow keys within radio button??I have 3 options in on radio group where the 2nd and 3rd options are protected. Ofcourse tab order does not work there but when the focus is on the first option, i am still able to move to the next options (2nd and 3rd) with arrow keys and they get selected despite them being "protected".This happens only when i use arrow key and now while using mouse! Please help! Thanks,Radhika Magaji
426
Views
0
Likes
0
Replies
Re: Livecycle Image field upload issue with .tiff/.tif format Radhika_Magaji - Adobe LiveCycle
Hi mouslander,Due to some restrictions I will not be able to send any attachments outside my work circle.Can you please create a dynamic pdf with an image field, have some .tiff/.tif fields downloaded from the internet and try the steps mentioned above?Here is the code im writing in the image fieldThis goes in validate event of image field://278634- base 64 encoded value for 201kbif(this.resolveNode("value.#image").value.length > 278634){ this.rawValue = null; xfa.host.messageBox("Selected Image...
302
Views
0
Likes
0
Answers
Re: How to force alpha or numeric inside text fields - LiveCycle Designer 9.0 Radhika_Magaji - Adobe LiveCycle
I did try the code above few days back and it did not work It did today!I am writing the below in the exit event too, cuz the above code holds good only when the user is typing.if (!xfa.this.rawValue.charAt(0).match(/[a-zA-Z0-9]/g)) { this.rawValue = null; xfa.host.setFocus(this);}Thanks a lot radzmar!
1263
Views
0
Likes
0
Answers
Re: Restrict users from cutting and pasting content(form data) in form fields Radhika_Magaji - Adobe LiveCycle
Hey radzmar,I'd be grateful if you could look in the below thread and provide a solution. I see you have answered a few questions there.Re: How to force alpha or numeric inside text fields - LiveCycle Designer 9.0Thanks,Radhika
298
Views
0
Likes
0
Answers
Re: How to force alpha or numeric inside text fields - LiveCycle Designer 9.0 Radhika_Magaji - Adobe LiveCycle
Hi,I was able to achieve this with the below in my change event:if(xfa.event.newText.charAt(0).match(/[ `~!@#$%^&*()-_={}|:;."<>,\\\[\]]/g)) { xfa.event.change = "";}But the above restricts numeric also from entering at first position i am assuming this is happening cuz im using chartAt() which probably checks only for string.I need the user to enter either alphabet or numeric at my first character.Please Help.
1261
Views
0
Likes
0
Answers
Re: Restrict users from cutting and pasting content(form data) in form fields Radhika_Magaji - Adobe LiveCycle
This worked radzmar!ThanksRadhika
293
Views
0
Likes
0
Answers
Re: How to force alpha or numeric inside text fields - LiveCycle Designer 9.0 Radhika_Magaji - Adobe LiveCycle
Actually want to avoid special characters(including space) at my first character.Any help will be much appreciated.Thanks,Radhika
1257
Views
0
Likes
0
Answers
Re: How to force alpha or numeric inside text fields - LiveCycle Designer 9.0 Radhika_Magaji - Adobe LiveCycle
Hey,How do i avoid space as my first character? I'd want to restrict user from entering space as my first charcter in a text field.Thanks,Radhika
1256
Views
0
Likes
0
Answers
Re: Livecycle Image field upload issue with .tiff/.tif format Radhika_Magaji - Adobe LiveCycle
Thanks for your response mouslander.1-Yes I did try outside of designer - Adobe Reader and acrobat Pro2-I tried this and yes the image changed. This is not what is expected though3-Any file upload will have to be less than 200kb according to the requirement. I am writing js to achieve this.4-I am not creating any file to upload. My user will be uploading an image which is an image of signature. It is not known which format the user may chose to upload. Since adobe allows ".jpg, .png, .gif and .t...
301
Views
0
Likes
0
Answers
Livecycle Image field upload issue with .tiff/.tif format Radhika_Magaji - Adobe LiveCycle
Hello,I have a requirement to implement image upload in pdf form which im doing with a help of "Image Field" object. I understand for uploading the image we need form to be reader extended(via Adobe Acrobat Pro or LiveCylce Rights Managament).I am also aware the file formats supported are ".jpg, .png, .gif and .tif". However it accepts .jpeg/.tiff formats as well.I am facing issues uploading file with .tif/.tiff formats. Below are the steps explaining the issue.1. Click on the "Image Field" to u...
1194
Views
0
Likes
6
Answers and Comments
Re: Restrict users from cutting and pasting content(form data) in form fields Radhika_Magaji - Adobe LiveCycle
Hi radzmar,This works perfectly fine as long as the field is an email address.But in other case, if i have "Text Field1" rawvalue to have 1 character entered, it wil still copy that 1 character to other field.Can we restrict user from copying the value itself so that he has no way to paste it at all?Thanks,Radhika
295
Views
0
Likes
0
Answers
Restrict users from cutting and pasting content(form data) in form fields Radhika_Magaji - Adobe LiveCycle
Hi,I have a requirement where there are two fields: "Enter Email Address" and "Re-enter Email Address". The form should not allow the user to cut-and-paste the Email Address into the Re-enter field. It must be manually entered. Can this be done through javascript? Or by setting form properties with LiveCycle Designer? I'm using Es4 version. I am aware that i can restirct user from copying content within form. Solution to retrict pasting will be highly appreciated.Thanks in advance,Radhika
916
Views
1
Like
5
Answers and Comments
Re: Restrict text field from keying certain characters by user Radhika_Magaji - Adobe LiveCycle
Hi, I am trying to restrict the character at position 0 from numeric. That is, a NAME field is not to start with a numeric charater but can have numeric after position0. I have written this code below in the change event itself of the field, but it doesn seem to work. Could you please suggest as to where i am going wrong? Or any other alternative to restrict numeric characters at position0? Below is the code:xfa.this.rawValue.charAt(0).event.change = xfa.event.change.replace(/[0-9]/g, "");Thanks...
212
Views
0
Likes
0
Answers
Re: Save form data as XML Radhika_Magaji - Adobe LiveCycle
Hi Matt,I have been looking for a way to generate XML on click of a button.Could you pls post the form you are talkin bout here? I am unable to find the form when followed the link you provided "http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip. pdf"Regards,Radhika
204
Views
0
Likes
0
Answers
Capture the exit event of form fields Radhika_Magaji - Adobe LiveCycle
Hi, Is there a way to capture the exit event of form fields when the form is open? I have say 10 fields in my form and I have to check rawValues of 5 fields if its null and disable a button. Instead of having to write the code on 'exit' event of every field, i just want to write one line capturing the rawValue of all these fields and perform my code. Something like the below.When the form is open/ready or when im working on itif(xfa.event.change) //checkrawValueOnExit { if(Textfield.rawValue == ...
631
Views
0
Likes
1
Answers and Comments
Capture the exit event of form fields Radhika_Magaji - Adobe LiveCycle
Hi, Is there a way to capture the exit event of form fields when the form is open? I have say 10 fields in my form and I have to check rawValues of 5 fields if its null and disable a button. Instead of having to write the code on 'exit' event of every field, i just want to write one line capturing the rawValue of all these fields and perform my code. Something like the below.When the form is open/ready or when im working on itif(xfa.event.change) //checkrawValueOnExit { if(Textfield.rawValue == ...
455
Views
0
Likes
0
Answers and Comments
Hide/Show object on master page Radhika_Magaji - Adobe LiveCycle
My form has a set of buttons(tabs) on click of which subform relating to those tabs are shown/hidden depending on the selection.The requirement is such that i have a lock button on click of which i lock all my fields in all tabs and once clicked, fields are to be locked and the lock button has to hide. Done! this one is ok!.But i have placed this lock button in the master page so that the button is available for the user when he is navigating across tabs.Say i have 3 tabs. When i am on tab1, i c...
640
Views
0
Likes
0
Answers and Comments
Likes from