since ‎24-08-2017
‎10-12-2019
berlink0304
Level 2
Re: Shorten filename but retain extension for string variable berlink0304 - Adobe Experience Manager Forms
I'm working with AEM 6.1 adaptive forms. The OOTB attachment page is being used, and we hold that filename in our XML. Eventually we take that xml value and give it to the strFileNm variable that we then use for a few steps in other processes we've built where we store and retrieve files from our server.
426
Views
0
Likes
1
Replies
Shorten filename but retain extension for string variable berlink0304 - Adobe Experience Manager Forms
Hello,Currently we are storing the filename of an attachment a user uploads into a variable (@strFileNm). We then use that variable to build a URL to find the file in another location. Once the file is found, it is stored in another variable (@docFile).Later on, we use the filename variable to provide the filename to another application we interface with. The problem I'm having is that application can only accept a string of 30 characters.I need to be able to have the file name unchanged for whe...
536
Views
0
Likes
3
Replies
Popup Message on Initial Form Submission berlink0304 - Adobe Experience Manager Forms
I am trying to have a message appear on the initial submission of a form. For subsequent Task Operations, I have the ability to give User Actions, where I can have a message display when they press Submit (or other actions).I do not have that option though for the initial submission of the form. Where would you place JS to run when a user clicks submit? What is the location of that button?I am using 6.1
310
Views
1
Like
3
Answers and Comments
instanceManager.removeInstance not removing all of XML block berlink0304 - Adobe Experience Manager Forms
I have a row on a form that has a button to remove the row next to it. On the click I have the following:Company.Page1.ListOfRecords.RecordsTable.Row2.instanceManager.removeInstance(this.parent.parent.index);Each row goes into a block in the schema, and when a new row is generated, a new block appears. When a row is deleted, that block should disappear entirely. However it is keeping parts of the xml block.For instance, normally the block would be like below, and would have whatever values each ...
259
Views
0
Likes
0
Replies
Regular Expression to make Text Field only hold 0-9 is allowing non numeric berlink0304 - Adobe Experience Manager Forms
Hello,I need a field in which a user is limited to a 3 digit entry which allows the numbers 0-9.Currently I am using a text field as my object on my form, so I can limit the length to three characters.I have looked into regular expressions in order to do what I want, but the problem is that I still can enter ".", "-", and "-". That's the numpad Decimal, numpad Minus, and the dash keys. I am unsure why these are allowed, but I need them to not be, as it allows a user to enter a negative or a deci...
3190
Views
2
Likes
6
Answers and Comments
Likes given to