d2jsp
d2jsp Forums > General Help > How To Make A Pm Link With Prefilled Text
Prev12
Add Reply New Topic
Floozy
#11 Dec 3 2019 10:45am
Group: Member
Posts: 32,346
Joined: Mar 13 2007
Gold: 3,495.00
Trader: Trusted
Quote (roadtree @ Dec 2 2019 09:19pm)
Unless they plan on changing the site, it's not possible.


This. I tried multiple ways yesterday, there is no way to change the "value" attribute of the textarea simply by editing the address.

However, if you're certain you saw somebody do this on EUSCL, try finding the post and recreating the link. Not sure what else we can tell ya here.
roadtree
#12 Dec 3 2019 11:14am
Group: Member

Posts: 7,790
Joined: Jun 12 2012
Gold: 105,182.37
Quote (Floozy @ Dec 3 2019 06:45am)
This. I tried multiple ways yesterday, there is no way to change the "value" attribute of the textarea simply by editing the address.

However, if you're certain you saw somebody do this on EUSCL, try finding the post and recreating the link. Not sure what else we can tell ya here.



Can’t change it because there’s no value element to change :(
Chos3n
#13 Dec 3 2019 11:46am
Group: Member
Posts: 1,625
Joined: Feb 8 2008
Gold: 2,191.00
Textareas work differently than other input fields, they do not take a value attribute (like roadtree already said). You have to place the textarea value between the textarea tags.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea

When you're submitting form (sending pm) with get method it appends form data into the url in name & value pairs which you can edit. Like you can set in your link the user you want to send pm to (u=123456) or subject of the pm (subj=something). As textarea has no value attribute you can't simply set it (like '&Post=whatever').

tl//dr - Not possible afaik.

Go Back To General Help Topic List
Prev12
Add Reply New Topic