Skip to content

Commit

Permalink
initla commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bluedeepart committed Nov 27, 2024
1 parent 92ea70c commit 66655b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blocks/forms/formHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { input } from '../../scripts/dom-helpers.js';
import { getCookie } from '../../scripts/scripts.js';

/* Helper functions */
export const RESOURCEKEYS = ['heading', 'region', 'portalId', 'formId', 'redirectUrl', 'productFamily', 'productPrimaryApplication', 'cmp'];
export const RESOURCEKEYS = ['heading', 'region', 'portalId', 'formId', 'redirectUrl', 'productFamily', 'productPrimaryApplication', 'cmp', 'jobTitle', 'website', 'productImage'];

export function getDefaultForKey(key) {
switch (key) {
Expand Down Expand Up @@ -215,6 +215,7 @@ export function getFormFieldValues(formConfig) {
requested_qdc_discussion__c: formConfig.qdc,
research_area: formConfig.researchArea,
return_url: formConfig.redirectUrl || thankyouUrl,
jobtitle: formConfig.jobTitle,
website: formConfig.website,
};
}
Expand Down

0 comments on commit 66655b2

Please sign in to comment.