Hi to all,

I am beginner in the field of php & I have a problem as,

I want to open & show the contents of a new form (with in new window) , as click on submit button in the current form, after selecting one of the two radio buttons choices .

Can i use "onclick()" for this ?
if Yes, please suggest me How ?
if Not , then what should be the right code for this ?

any suggessions will be appreciated.

Thanks & Regards.

Hey

When declaring your form tags, add target="_blank" or target="new"

Hence:

<form method="post" action="index.php" target="_blank">

<!-- your formy bits go here -->

</form>

Best,

R.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.