Field Definitions: This is the area where you define the fields ----------------------------------------------------------------------------------- Captcha Access Section ----------------------------------------------------------------------------------- Requestor Identify Section Hidden field and rule for normalizing the phone number ----------------------------------------------------------------------------------- DoD Organizational Affiliation Section Us DOD Activity Code DoD Contractor PreDefined Organizations DoD Contractor Additional Fields Rules to Hide and Show addition fields ---------------------------------------------------------------------------------- DoD Safe Recipient ---------------------------------------------------------------------------------- Sponsoring Activity Section ------------------------------------------------------------------------------------ Software Request
------------------------------------------------------------------------------------ IP Catcher ------------------------------------------------------------------------------------ ---------------------------------------------------------------------------------------- Sends Info to Jira New Account Project --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Below is where the Fields are shown on the page.
|
<style>
span[class^='i_holdingrow_'] label {
width: 150px;
max-width: 250px;
display: inline-block;
vertical-align: baseline;
}
span[id^='i_holdingrow_EntityType'] label {
width: 500px;
max-width: 500px;
padding-left: 10px;
}
select[id^='i_OrgSelection'] {
width: 300px !important;
max-width: 500px !important;
}
label[id^='i_labelfor_MultiFactor'] {
width: 300px !important;
max-width: 500px !important;
}
label[id^='i_labelfor_fillCacInfo'],
label[id^='i_labelfor_cacFetchStatus'] {
width: auto !important;
max-width: 500px !important;
padding-right: 10px !important;
vertical-align: baseline;
}
label[id^='i_labelfor_DoDOrgAffiliation'] {
width: auto !important;
padding-right: 10px !important;
}
.flex-container {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
.flex-item-left {
flex-grow: 0;
padding-right: 20px;
}
.flex-item-mid {
flex-grow: 1;
padding-right: 20px;
}
.flex-item-right {
flex-grow: 8;
padding-right: 20px;
}
@media only screen and (max-width: 1427px) {
.flex-item-right {
padding-top: 20px;
}
}
</style> |
<script>
function formatPhoneNumber(phoneNumberString) {
var match = phoneNumberString.match(
/^\s*(?:\+?(\d{1,3}))?[-. (]*(\d{3})[-. )]*(\d{3})[-. ]*(\d{4})(?: *x(\d+))?\s*$/,
);
if (match) {
return `${match[1] ? '+' + match[1] + ' ' : ''}(${match[2]}) ${match[3]}-${match[4]}`;
}
return '';
}
function setPhoneNumberValue(formName, formId) {
AJS.$(formName)
.find('#i_PhoneNumberFormatted')
.val(formatPhoneNumber(AJS.$(formName).find('#i_PhoneNumber').val()));
}
AJS.$('#rw_search_container').hide();
</script> |