是的,但是这个字段的名称是什么?它是否在你发布的代码中?我想目前不会。请注意,以下内容取决于您发布的代码是否正确——选择字段位于底部
Patch(
AllSubmittedData,
Defaults(AllSubmittedData),
{
field_1:
If(
Toggle1_1.Value,
"Yes",
"No"
),
field_2:
If(
Toggle1_5.Value,
"Yes",
"No"
),
field_3:
If(
Toggle1_4.Value,
"Yes",
"No"
),
field_4: Radio2_1.Selected.Value,
field_5: Radio1_2.Selected.Value,
field_6: Value(TextInput1_6.Text),
field_7: Value(TextInput1_7.Text),
field_8: Value(TextInput1_11.Text),
field_9: Value(TextInput1_10.Text),
field_10: Value(TextInput1_9.Text),
field_11: Value(TextInput1_8.Text),
field_20: Value(Label1_37 + Label1_40 + Label1_41 + Label1_42 + Label1_43 + Label1_35 + Label1_34 + Label1_33 + Label1_32),
field_21: Value(Label3_13.Text) * 100,
field_22: Value(Label3_14.Text),
field_23: Value(Label3_15.Text) * 100,
Comorbidities: Radio1_3.Selected.Value,
field123: Text(txtG_1.Text),
field_24: Text(txtfirstn.Text),
field_25: Text(txtlastname.Text),
field_27: Text(txtDOB.Text),
PT_IDENTIFIER: Text(txt1_3.Text),
Number: Text(lblmailnickname.Text),
status: Toggle2.Value,
YourChoiceField:
With(
{
wChoice:
With(
{input: Value(charttxt.Text)},
If(
input >= 1 && input < 4,
"Low",
input >= 4 && input < 9,
"Intermediate",
input >= 9 && input < 15,
"High",
input >= 16,
"Very High",
"NA"
)
),
{Value: wChoice}
)
}
)