cforms II User Forum

Registration is currently disabled.


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 Related Topics
hidden Variables in php (not url)
declare hidden Variables in my-functions.php?
Tags: ***
April 26, 2013
2:27 pm

Hi there Oliver, I`m using this great plugin for a bunch of sites, and now I`m facing an issue that I cant resolve.

Can you give me some clues?

site: MUYAPP.COM - Wordpress 3.4.1

cforms plugin 14.6

Real consultation form, please click in ·CONSULTAR" button

Since the form is called via ajax and execute a confitional php,  I cant pass URL variables.

Neither use extended variables to insert (title), since it always retrieve the same title.

Also have the same form here : where I`ve tested passing variables and title and everything`s right.

So I`ve tryed to declare a variable in the my-functions.php but still dont have it clear where must I put the code.

for example I need to generate a variable with this : 

producto="<?php echo __(the_title())." [".get_field("articulo")."]"; ?>"

can you point for some help?

Or someone who can help me go thru this?



Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
29 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: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

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

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

Administrators: Oliver (6400), Nicky (3)