SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Is this a Form?

  1. #1
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,764
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Is this a Form?

    When you request that someone becomes your Friend here on SitePoint, you get a page/prompt like this...

    Attachment 59803


    Is that a disguised HTML Form?


    Debbie

  2. #2
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,798
    Mentioned
    34 Post(s)
    Tagged
    2 Thread(s)
    Code:
    	<form action="profile.php?do=doaddlist&amp;list=&amp;userid=287465" method="post">
    		<input type="hidden" name="s" value="" />
    		<input type="hidden" name="securitytoken" value="1336677925-3994052ff4760fef149773e8aa77e32c8d7bb335" />
    		<input type="hidden" name="do" value="doaddlist" />
    
    		<input type="hidden" name="userlist" value="friend" />
    		<input type="hidden" name="userid" value="?????" />
    		<input type="hidden" name="url" value="http://www.sitepoint.com/forums/member.php?xxxxx-xxxxx" />
    		<div class="blockbody formcontrols">
    			<h3 class="blocksubhead">Are you sure you want to add thisGuy to your contacts?</h3>
    			<div class="blockrow">
    				<label for="also"><input type="checkbox" name="friend" id="also" value="1" checked="checked" tabindex="1" /> Also send a friend request to cahura</label>
    
    				
    			</div>
    		</div>	
    		<div class="blockfoot actionbuttons">
    			<div class="group small_text_buttons">
    				<input type="submit" class="button" value="Yes" name="confirm" tabindex="1" accesskey="s" />
    				<input type="submit" class="button" value="No" tabindex="1" name="deny" />
    			</div>
    		</div>
    	</form>
    the give away is the styled submit (yes|no) buttons

    you aren't building a competing forum, are you? :P

  3. #3
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,764
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by dresden_phoenix View Post
    the give away is the styled submit (yes|no) buttons
    Okay.


    you aren't building a competing forum, are you? :P
    Nope, but if I were, we would both be FIVE HUNDRED YEARS OLD before it became an issue at the rate I am going!!!!!!!!!!!

    (The only threat I pose is to myself?!)


    Debbie


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •