Unable to fetch value of input to AJS.$ from dialog

Raja March 16, 2020

<section role="dialog" id="add-conn-dialog" class="aui-layer aui-dialog2 aui-dialog2-large" aria-hidden="true" style="width: 650px;">
<header class="aui-dialog2-header">
<h2 class="aui-dialog2-header-main">XXXXXXXXXXXXXXXXXX</h2>

<a class="aui-dialog2-header-close">
<span class="aui-icon aui-icon-small aui-iconfont-close-dialog">Close</span>
</a>
</header>
<form id="valid-submit-form" class="aui">
<div class="field-group">
<label for="customerDescription">Customer Description</label>
<input class="text" type="text" id="customerDescription" data-aui-field data-aui-validate-required="required" name="customerDescription" title="Customer Description">
</div>

<div class="field-group">
<label for="xxxxxxxxxx">xxxxxxxx</label>
<input class="text" type="text" id="xxxxxxxx" data-aui-field data-aui-validate-required="required" name="xxxxxx" title="Server Info">
</div>

<div class="field-group">
<label for="userName">User Name</label>
<input class="text" type="text" id="userName" data-aui-field data-aui-validate-required="required" name="userName" title="User Name">
</div>

<div class="field-group">
<label for="xxxxxxxx">xxxxxx</label>
<input class="text" type="xxxxxx" id="xxxxxx" data-aui-field data-aui-validate-required="required" name="xxxxxx" title="xxxxxx">
</div>

<div class="field-group">
<label for="jira-projects-id">Jira Project Key</label>
<input class="text" type="text" id="jira-projects-id" data-aui-field data-aui-validate-required="required" name="jira-projects" title="xxxxxx">
</div>

<footer class="aui-dialog2-footer">
<div class="aui-dialog2-footer-actions">
<button id="dialog-submit-button" class="aui-button aui-button-primary">Add</button>
<button id="dialog-close-button" class="aui-button aui-button-link">No</button>
</div>
<div class="aui-dialog2-footer-hint"></div>
</footer>
</form>
</section>

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2020

Hello Raja,

Sorry to hear that you've been having issues with this.

Can you help me to understand what it is you're trying to do? What is the script you've sent us? If you are trying to create an add-on or develop for Atlassian Products, it's best to seek help on our Developer Community, which you can find from on our Developer Resources page

The Atlassian Community here is mostly for end-users and trouble with basic usage of our Atlassian Products. For any development questions, the Developer Community is a much better resource.

Let me know if you have any questions about that.

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events