Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assign values to value on form input fields
Author Message
dlaustin Offline
Junior Member
**

Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #1
Assign values to value on form input fields
How could I go about dynamically assigning $variable values to the Subject and Message fields of the input form?

Is it doable? Could I go into the plugin's php file and make some changes? If so, where would I need to do so?

Thanks,
dlaustin
05-03-2010 09:41 PM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #2
RE: Assign values to value on form input fields
Yes you can go into the file gd-recaptcha.php, the variable $short_code_form_code on lines 788-821 display the form when the user has visited your page/post for the first time.

Lines 668-703 are outputted when the user types an invalid reCAPTCHA phrase, and lines 727-762 are outputted when the user submits the form without filling out all the required fields.
05-03-2010 11:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dlaustin Offline
Junior Member
**

Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #3
RE: Assign values to value on form input fields
Great, thanks Sam!

I'll get into it this weekend.

dlaustin
06-03-2010 12:40 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  reCAPTCHA Form + WPML Multilingual CMS mmonge 0 189 28-07-2010 07:30 PM
Last Post: mmonge
  Calling reCAPTCHA Form from page template Danik 0 424 04-06-2010 05:07 PM
Last Post: Danik
  ReCaptcha Form 1.1 cowanservices 4 654 25-05-2010 10:42 PM
Last Post: cowanservices
  Adding Fields Scott 2 761 29-03-2010 02:39 PM
Last Post: Scott
  call recaptcha form from non wp php dlaustin 3 868 05-03-2010 04:26 PM
Last Post: Sam
  Fields rikiller 3 1,545 11-12-2009 05:19 PM
Last Post: Sam
  Welcome to reCAPTCHA Form Support! Sam 0 6,666 09-10-2009 09:17 PM
Last Post: Sam

Forum Jump: