Log In · Register

 
Custom Message Box, Fill in the blanks
adafsdfasdfadasd...
post Nov 24 2007, 04:05 PM
Post #1


-Lost in the void-
****

Group: Member
Posts: 103
Joined: Aug 2006
Member No: 452,563



Anyone wanna take a shot at filling in the blanks?

CODE
<form method="post" action="http://messaging.myspace.com/index.cfm?fuseaction=mail.message">
<input name="friendID" value="7617584" type="hidden">

<input type="text" style="width:247px !important; height: 60px !important;" value="" name="???"/>

<textarea style="width:247px !important; height: 60px !important;" name="???">
</textarea>

<input style="width:247px !important;" type="submit" value="Sumbit"></form>


Default values

CODE
<textarea name="ctl00$ctl00$Main$Main$sendMessageControl$bodyTextBox"
<input name="ctl00$ctl00$Main$Main$sendMessageControl$subjectTextBox"


For comments its

CODE
f_comments

replacing

ctl00_cpMain_postComment_commentTextBox



Edit:

I only had to add the value &friendid to the post method from the view source. . . and leave the values alone for subject and body

Final code thanks to Fawaz

CODE
<form action="http://messaging.myspace.com/index.cfm?fuseaction=mail.message&friendID=FRIEND_ID_HERE" name="aspnetForm" method="post" >

<input type="hidden" name="__VIEWSTATE" value="">

<input name="ctl00$ctl00$Main$Main$sendMessageControl$subjectTextBox" type="text" style="width:200px;" value="SUBJECT" /> <br />

<textarea name="ctl00$ctl00$Main$Main$sendMessageControl$bodyTextBox" style="width:200px;" />
MESSAGE
</textarea> <br />

<input type="submit" name="ctl00$ctl00$Main$Main$sendMessageControl$btnSend" value="Send" style="width:200px;" />

</form>
 
 
Start new topic
Replies
pandora
post Nov 25 2007, 08:19 PM
Post #2


i did your boyfriend
*******

Group: Official Designer
Posts: 3,335
Joined: Feb 2004
Member No: 4,071



ok. glad you found your solution.

topic closed
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: