Inserting text entered into a textbox into an automatic Whatsapp message

Sam Summers

Registered User.
Local time
Today, 09:36
Joined
Sep 17, 2001
Messages
939
Hi,

What i have below is all working so far apart from getting the text inserted into from the textbox "PO" on my form into the message of the hyperlink but where i have inserted Me.PO it isnt working?

HTML:
https://wa.me/XXXXXXXXXXXX?text=Me.PO%20has%20been%20received%20at%20Dornie

Any ideas?

Many Thanks in advance
 
Can you show us how you were trying to do it? Did you concatenate the textbox to the link?
 
What does it look like if you hard code a PO number into the string?
 
Wouldn't the string be
Code:
"https://wa.me/XXXXXXXXXXXX?text=" & Me.PO & "%20has%20been%20received%20at%20Dornie"
 
where are you displaying it?
on hyperlink field:

Me.PO & "#" & "https://wa.me/XXXXXXXXXXXX?text= has been received at Dornie" & "#"


on html page:

"<a href=""https://wa.me/XXXXXXXXXXXX?text= has been received at Dornie"">" & Me!PO & "</a>"
I have been trying numerous methods but for some reason the way that works best is from a label for some reason rather than a hyperlink field or textbox.

To clarify what i am attempting to do is when an order arrives at our port the receiver simply clicks on a checkbox where i have overlaid a label with the hyperlink in it so without knowing a message is sent to the person who made the order to say that it has been received at port
 
Hi guys,

Thank you all for your help.

I have cracked it but it works by using a label as i explained previously. But i have now managed to insert the text from my textbox "PO" by using this:

Code:
="https://wa.me/447926674707?text=Your%20Order%20PO " & [PO] & "%20has%20been%20received%20at%20Dornie"

Which displays this in a whatsapp message "Your Order PO XXXXX has been received at Dornie
 
Hi guys,

Thank you all for your help.

I have cracked it but it works by using a label as i explained previously. But i have now managed to insert the text from my textbox "PO" by using this:

Code:
="https://wa.me/447926674707?text=Your%20Order%20PO " & [PO] & "%20has%20been%20received%20at%20Dornie"

Which displays this in a whatsapp message "Your Order PO XXXXX has been received at Dornie
Hi. Congratulations! Glad to hear you got it sorted out. Good luck with your project.
 

Users who are viewing this thread

Back
Top Bottom