cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
data
January 7, 2008
9:27 am
Rob
Guest

Please replace the ??? with your data!

  • Your URL: http://???
  • The browser used: ???
  • cforms version: ???
  • Your Wordpress version: ???

[desc]:Hi

I am using cforms11 V6 – great plugin. I have a question just to see if you think this is possible.

I have a list of events. Each event has a link to the same cform – which is basically for someone to book to attend the event. U can see: http://paradoxbangkok.com/events/love-affair-with-london/ click the book this event button to get to the form.

Rather than having the user have to enter the name of the event in the field – "event or promo name", would there be a way to have the name of the specific event passed from that page to the form when the user clicks "book this event"?

So all they would have to fill in is their contact info and the event name and date would be sent to the form recipient.

Any thoughts would ber great.

Thanks

Rob

January 7, 2008
7:08 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

That's quite easy to solve. Simpy configure the URI that points to the form to include the field ID  and preset value.

Instead of using this link:

http://paradoxbangkok.com/events-and-promotions-booking

Try that:

http://paradoxbangkok.com/events-and-promotions-bo…..d_1=abcdef

January 8, 2008
5:41 am
Rob
Guest

Hi Oliver,

Very nice! Thanks for that. Easier than I thought. So let me see – cf3 refers to the third form i have, _field_1 is the first field I want populated and then the data?

What if I want to fill in a second field as well? Ive tried:

?cf3_field_1=abcfed?cf3_field_3=abcfed to fill in the first and third field.

And is it ok to have spaces such as  ?cf3_field_1=My name is Robert – as i notice it is adding a %20 when i go back in WP text editor.

Thanks for the help

Rob 

 

 

 

January 8, 2008
7:22 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

The link then would be:

?cf3_field_1=abcfed&cf3_field_3=abcfed

It requires an & to concatenate multiple keys/values.

In order to pick the right field ID you can always open your web page in HTML CODE mode (via your browser) and take a look at the HTML code itself. It makes it easier than guessing :-)

 

January 8, 2008
8:59 am
Rob
Guest

thanks again!

 

Rob 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3741

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5341

Posts: 18708

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)