Forum Discussion
PaulPeterson1
5 years agoQrew Assistant Captain
Evan,
Your approach handles part of the desired results. This will work for form view, but I would like the same functionality from the reports. Perhaps I could use SW and create a modal.
Everett,
I tried your change and have the same result.
------------------------------
Paul Peterson
------------------------------
Your approach handles part of the desired results. This will work for form view, but I would like the same functionality from the reports. Perhaps I could use SW and create a modal.
Everett,
I tried your change and have the same result.
------------------------------
Paul Peterson
------------------------------
BradLemke
5 years agoQrew Assistant Captain
Just for kicks, give this one a shot: javascript:alert(\"" & $message & "\")
It's not always the case, but there are times when using the \" in place of a single ' will make an otherwise perfect code actually function with Javascript. They're both effectively accomplishing the same task, but the single ' can be inconsistent from time to time.
------------------------------
Brad Lemke
------------------------------
It's not always the case, but there are times when using the \" in place of a single ' will make an otherwise perfect code actually function with Javascript. They're both effectively accomplishing the same task, but the single ' can be inconsistent from time to time.
------------------------------
Brad Lemke
------------------------------
- PaulPeterson15 years agoQrew Assistant CaptainYep, that was one of the things I tried too. same result
------------------------------
Paul Peterson
------------------------------- BradLemke5 years agoQrew Assistant CaptainAlrighty, then take a close look at the $message variable contents. It's entirely possible that the 'message' being pulled into the code contains characters that are breaking the code.
------------------------------
Brad Lemke
------------------------------- PaulPeterson15 years agoQrew Assistant CaptainThe only special character used in the message text is \n. And, yes, the last character in the message is going to be \n. I changed the message to equal to Left($message, Length($message) - 2), still the same result.
------------------------------
Paul Peterson
------------------------------