Hello All,
I have created a Request Form and am trying to patch all the information to the SharePoint List. I prefer Patch over Form.
One of the text input fields that is required I changed its "TextFormat" to "Number". I am now at the confirmation button and trying to Patch that field input with the other ones,but this particular one isnt working when i put in the code :
NumberOfTrainees: NumbOfTrain_Input.Text
For the Patch.
This is the full code for the patch:
Patch('Training Requests',Defaults('Training Requests'),
{Title: "Training Requests",
TrainingPOC: User().FullName,
MicrosoftEmail: EIDText_Input.Text,
DateRequested: Text(Today(), "[$-en-US] mmmm dd, yyyy"),
TrainingDeploymentDate: DatePicker1.SelectedDate,
TrainingMaterial: TrainingMText_Input.Text,
MaterialLink: MaterialLText_Input.Text,
Process: Dropdown1.Selected,
LOB: LOBText_Input.Text,
Region: Dropdown2.Selected,
ShiftSchedule: ShiftSText_Input.Text,
Comments: 'CommentBox_Confi.'.Text,
NumberOfTrainees: NumbOfTrain_Input.Text });
SubmitForm(Form2); UpdateContext({PopUp: true});
Text Input Field Name: NumbOfTrain_Input
SharePoint Column I am trying to Patch it to: NumberOfTrainees
I also tried to put: NumberOfTrainees: NumbOfTrain_Input.Number
Thinking that since Ii changed its format to Number Instead of Text that that might solve it, but no luck.
Any help would be appreciated,
Thanks!