since ‎23-05-2013
‎10-12-2019
varundua
Level 2
Re: Guide Submit shorten URL
Avatar

varundua

varundua
- Adobe Experience Manager Forms
I think the url below might help URL rewriting (shortened URL)

Views

394

Like

1

Replies

0
Re: Generation of Unique Identifier for Each Form
Avatar

varundua

varundua
- Adobe Experience Manager Forms
There is no unique identifier generated for the Form. Currently the path of the form is considered as the unique identity of the form.What is the use case that you are trying to achieve by having a unique identifier for the form ?Thank YouVarun Dua

Views

423

Likes

0

Replies

0
Re: AEM 6.2 Form post without an Ajax call
Avatar

varundua

varundua
- Adobe Experience Manager Forms
HiThis happens because of the CSRF prevention support that was added in 6.0. While making a post request you now need to provide a CSRF token as well. This support was provided ootb with granite jquery.This question provides more informationThanksVarun Dua

Views

597

Like

1

Replies

0
Re: How to cusomize validations on submit action in Adaptive Form
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi You can write the validation script on the validation event. If you are on 6.2 or 6.1 FP1 you can use the Rule Editor to add your validation logic using the Visual Editor For more advance use case you can specify that using code editor where you can write any custom JavaScript For more information on rule editor please visit [1][1] https://helpx.adobe.com/aem-forms/6-1/rule-editor.html

Views

780

Likes

0

Replies

0
Re: guideBridge in AEM 6.2 and Forms
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Robert,Can you specify the use case you are targeting ? You are requested not to use any methods starting with _ since the can change without any notice. Also id is internal and we change it for repeatable instances, fragments etc during render.

Views

811

Likes

0

Replies

0
Re: Adaptive forms as a drag and drop component
Avatar

varundua

varundua
- Adobe Experience Manager Forms
In 6.2 we have made Adaptive Form component [1] which covers the same use case [1] https://helpx.adobe.com/aem-forms/6-2/embed-adaptive-form-aem-sites.html

Views

709

Likes

0

Replies

0
Re: includeGuideContainer: not work on IE10, IE11
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Can you please provide what JavaScripts files are loaded in the page ? Is en.js (for english locale) getting loaded ?

Views

706

Likes

0

Replies

0
Re: AEM 6.2 Forms and element id's.
Avatar

varundua

varundua
- Adobe Experience Manager Forms
> The problem is with validation because the list of failed elements returned from the guideBridge validation method has ID's that don't exist on the page, you can't use the somExpression to resolve the element,I am still not getting, maybe some code you provide can be helpful. With SomExpression you can get hold of the HTML element like thisvar errors = []; guideBridge.validate(errors); errors.forEach(function (error) { var field = guideBridge.resolveNode(error.som); var $field = $(field.cssCla...

Views

4.1K

Likes

0

Replies

3
Re: AEM 6.2 Forms and element id's.
Avatar

varundua

varundua
- Adobe Experience Manager Forms
This is a special case for fragments and hence you are seeing different Ids. Consider the case where you drop a fragment twice in the form side by side, as per the jsp code, the id would become the same and it would be difficult for the runtime to differentiate between the two. So in the case of fragments we change the id when fragment is loaded. Also this logic is internal to Adaptive Form and can be changed anytime. It is not recommended to depend on the id to do anything. The recommended appr...

Views

4.1K

Likes

0

Replies

7
Re: EDIT RULES in AEM6.1
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Praveen,cq-adaptiveforms-content pacakge comes with quickstart. Can you check in the package manager what is the version of this package in your setup ?RegardsVarun

Views

3.5K

Likes

0

Replies

2
Re: What is first? 'Document ready' or guideBridge.connect() ?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Urs,> do an ajax call during initialization of the component (using jquery) ?You can initialize your component using a custom widget/appearance as mentioned in [1].> use the result of the ajax call to do DOM manipulations (using jquery) and update the value of guide fieldsYou can achieve that by prepopulating the form fields by passing a dataRef parameter[2]Manipulating component DOM in connect can lead to some errors later on, because the Adaptive Form might have attached some listeners on t...

Views

567

Likes

0

Replies

0
Re: EDIT RULES in AEM6.1
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Praveen,Rule Editor Functionality [1] is available in AEM Forms 6.1 Feature Pack 1 release [2][1] https://helpx.adobe.com/aem-forms/6-1/rule-editor.html[2] https://helpx.adobe.com/aem-forms/6-1/whats-new-fp1.html RegardsVarun Dua

Views

3.5K

Likes

0

Replies

4
Re: Components under Adaptive Form is not working
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Kirthi, Adaptive Form components are supposed to work only in an Adaptive Form. They will not work in sites. RegardsVarun Dua

Views

476

Likes

0

Replies

0
Re: How to add image attachments to HTML5 form using JavaScript
Avatar

varundua

varundua
- Adobe Experience Manager Forms
No,importDataObject API is not supported on event.target object and the same is true for other APIs that you have used in your code. So I regret to say but your code will not work in HTML preview.RegardsVarun

Views

932

Likes

0

Replies

0
Re: How to return a value from submit action and use it in the redirect page?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Urs,From the documentation[1]After performing the required action, the Submit servlet forwards the request to the forward path. An action uses the setForwardPath API to set the forward path in the Guide Submit servlet. If the action doesn't provide a forward path, the Submit servlet redirects the browser using the Redirect URL. The author configures the Redirect URL using the Thank You Page configuration in the Adaptive Form Edit dialog. You can also configure the Redirect URL through the Sub...

Views

1.3K

Likes

0

Replies

0
Re: Pre-populating Adaptive Form in Workspace
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Darren,New Standard is followed for all the Adaptive Forms. In addition to that for XFA based Adaptive Forms old standard is still followed, but in that case if you have dropped some fields form the sidekick and not from the Data Hierarchy tab, those fields will not be pre-populated. So as an example, if in your XFA based Adaptive Form, you have used only XFA based Fields then the following two XML structures are equivalent for pre-populating......But if you have some fields that are not boun...

Views

617

Likes

0

Replies

0
Re: How to force browser to display pdf form only whether it supports or not?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Instead of the html extension, you can try .pdf extension to show the pdf file. i.e. try changing the URL tohttp://:/content/xfaforms/profiles/default.pdf?contentRoot=crx:///content/dam/formsanddocuments/FordeForm&template=ESC101NK.xdp&dataRef=crx:///content/dam/fordeform/contractData.xml

Views

528

Likes

0

Replies

0
Re: AEM Forms template jquery error on radio button click
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Dale,Yes it is a known issue, adding jQuery in Templates brings in some weird problems. And FYI, we bundle jQuery 1.8.0 in our Adaptive Form.RegardsVarun Dua

Views

990

Like

1

Replies

0
Re: AEM Forms template jquery error on radio button click
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Dale,Thanks for providing the information, it will be difficult to debug this issue without reproducing the issue that you are facing . Will it be possible for you to tell the steps that might help us reproduce the issue at our end ?Apart from that I would like to know few extra things from you1. Whether you have written any scripts on the change event of radiobutton in xfa ?2. Whether there is any difference in the properties of radio button in demo1 and radio button in demo2 ? Mainly, Bind ...

Views

906

Likes

0

Replies

0
Re: AEM Forms Tabbed Enrollment Template Bug(s)?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Also you can check the logs in your browser in xfa based forms and see if there is any error1. Navigate to http://:/system/console/configMgr2. Search for Html Library manager and click edit (pencil icon next to library manager)3. Select the check box which says Debug Console4. In the next field (which says Debug Init Script) select add the script window.AF_log_config="a7-b7-c7-d7". 5. The final value in the field should be window.CQ_initial_log_level='INFO';window.AF_log_config="a7-b7-c7-d7"To u...

Views

906

Likes

0

Replies

0
Re: AEM Forms Tabbed Enrollment Template Bug(s)?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
The caption (as you call it, we call it panel summary) that you see in the Repeatable Panel is actually controlled by the summary expression on a panel. In the edit dialog of the repeatable panel you can write an expression in the Summary Expression field (The field is highlighted in the Image).[img]repeat.png[/img]If you don't provide any expression, this is the expected behaviour. If you provide a summary expression, it will be executed every time you add or remove a instance of the panel usin...

Views

924

Like

1

Replies

0
Re: How to switch off validation of a field using guidebridge?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Also jsonModel property is internal and you should directly use data.target.somExpressiondata.newText

Views

1.5K

Likes

0

Replies

0
Re: How to switch off validation of a field using guidebridge?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Urs,May I know how you are hiding the field ? Are you using the Visible Expression or the Value Commit Expression. In your use case using Value Commit Expression will give better performance.RegardsVarun

Views

1.5K

Likes

0

Replies

2
Re: How to switch off validation of a field using guidebridge?
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi You can use the validationsDisabled property of a Field to switch off validations. In your example, you can write in the value commit expression of the birthdate field if ( checkIsabove18 ) { // replace checkIsAbove18 with an actual check legalRepresentation.visible = false; // assuming the name of the legal representation field is legalRepresentation. If not change this with the actual name legalRepresentation.validationsDisabled = true;} else { legalRepresentation.visible = true; legalRepre...

Views

1.5K

Likes

0

Replies

4
Re: Enable Server-Side Validation
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Alex,The feature was introduced in AEM 6.0 Feature Pack 1 and was not present in the AEM 6.0 release. To try that feature you need to upgrade to Feature Pack 1RegardsVarun

Views

846

Likes

0

Replies

0
Re: Populate dropdown field using java script
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi vkeerthy,You can use the instances property of a Panel's InstanceManager to get hold of all the instances of your address panels, create an array of values and return that in the optionsExpression. So in your case the code would be something likevar myPanel = addressCollections.panel1, values = []; for (var i = 0; i < myPanel.instanceManager.instanceCount; i++) { var panelInstance = myPanel.instanceManager.instances[i]; values.push(panelInstance.address.value); } // this is important since we...

Views

3.5K

Likes

0

Replies

1
Re: Submit to Forms workflow submit action
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Afam,LC Process Locator and Invoker service searches for those process in Livecycle which take two input parameters having names dataxml and fileAttachmentLists by default. If your process have different names, you can enter those in the configuration.These processes are then listed in the Submit to Forms Workflow submit action configuration and you can choose one among them. Note: dataxml is not a property of your process but the name of the input variable which accepts data xml (a document ...

Views

748

Likes

0

Replies

0
Re: Submit to Forms workflow submit action
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi Scott,The approach you have mentioned is correct and will work in all the cases.But we also provide a OOTB submit action which does the same. The action invokes the process selected by the user in the submit action configuration. The only limitation is that it only invokes those process that take two input parameters. The action searches and lists all the process that take two parameters (having specific names) and the author can then select any of the process from the list. The name of those...

Views

757

Likes

0

Replies

0
Re: Submit to Forms workflow submit action
Avatar

varundua

varundua
- Adobe Experience Manager Forms
To use the Submit to Forms Workflow option you need to configure LC with AEM. The steps for that are provided in [1]. You don't have to provide any URL, Once you complete the configuration steps it will show you a list of process and you can select one.I am not sure I understood your second question completely. My initial understanding is that you have not configured echosign service in AEM the steps for which are provided in [2]. Can you share the link which you are talking about.[1] http://hel...

Views

753

Likes

0

Replies

0
Re: How to generate custom component that behaves like a panel
Avatar

varundua

varundua
- Adobe Experience Manager Forms
Hi AshokCurrently we do not support Designer like Fragments in Adaptive Forms. But there is a workaround with some known limitations to create a composite component (which can have multiple AF Fields/Panels) which when dropped onto an AF creates all the Fields/Panel in that Component. You can reuse the same component across multiple AFs. I am detailing out the steps for the sameCreate an AF (choose the survey Template provided OOTB). Remove all the Panels/Fields except RootPanel.Add the necessar...

Views

707

Likes

0

Replies

0
Likes given to