I have some logic in my e-mail submit button to determine who needs to receive the form based on information in the form. Based on my sample code, when I click the submit by e-mail button and TextFiel4.rawValue is D781008CX03, it will actually change the value in TextField4 to "true" when submitting the form. What can i do to fix this issue?
if
(TextField4.rawValue = "D781008CX03" && CheckBox10.rawValue == true){
var myDoc = event.target;
myDoc.mailDoc(
false,
, "", "",
"Request to Add "
+FuelRating.rawValue ,
"You have a new industrial request to add "
+FuelRating.rawValue
);}
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You are missing a second equal sign in your test for TextField4:
if (TextField4.rawValue == "D781008CX03" && CheckBox10.rawValue == true) {
// script
}
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
You are missing a second equal sign in your test for TextField4:
if (TextField4.rawValue == "D781008CX03" && CheckBox10.rawValue == true) {
// script
}
Hope that helps,
Niall
Views
Replies
Total Likes
Ahhh!!
Amature mistake . Thank you for the help and the quick response!!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies