Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I just started working on wordpress.

Now i have created custom form and that form data I want to save in database and mail also.

For that form creation, I have one php file which i have used as template on one page.

and then that form submit, i have given action to another page [ which also made by custom template].

I am having problem, like on form submit, the action page is opening but i am not able to get data.

form is like same..

<form action="/submit-idea" method="post" name="idea">
<label>Idea Outline<div class='info'>Brief description of the product or service idea</div></label>
<textarea id="idea-outline" cols="10" rows="3" placeholder="" required></textarea>

and on submit-idea page, I am trying to get values like,

$idea_outline = $_POST['idea-outline'];

But their is no values, in that variable ?

and BTW, that submit-idea is php page which i have used as template on page.

share|improve this question
add comment

closed as too localized by toscho Dec 19 '12 at 9:45

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted

This is not exactly a WordPress question, because you made an error in your form.

Try adding name="idea-outline" to your textarea, and you should be fine.

share|improve this answer
    
omg... thanks a lot... –  Nitz Dec 19 '12 at 9:11
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.