form

How edit/save config.php file from a form

Hi everyone, I have a file called config.php with contents that looks like this: $setting_1 = "value1"; $setting_2 = "value2"; $setting_3 = "value3"; $setting_4 = "value4"; How can I use a form to edit/save these values from a webpage? Any help would be appreciated. ...

HTML Form Target directed to IFRAM working in FF but not IE

I have a form which consists of two different targets. One target submits the form and the other presents a preview of the form data. My only issue here is that my logic works fine in firefox however the iframe in which the preview is to be displayed remains blank when I click the preview button. I've also noticed the form data being li...

From HTML Form to XML Tree

I would like to pick some of your brains on this matter... I've got a large form where there are a lot of multiple selection choices. Some are radio groups and yet others are "select all that apply" checkbox groups. I'm trying to figure out the best way to translate each of these selections within my XML tree to send to the SQL server....

jQuery .post not executing task in URL

Hello, My issue involves jQuery .post and Joomla. I have a template with a form that is within one of the accordion areas (using jQuery UI accordion). I have a button type=submit in the form. The form html is generated via jQuery when a user clicks a button in the accordion area. When a user clicks the form submit button, the event ...

VB.Net Clear or Reset form BackColor?

Hey guys! A simple question, but simple part of learning. How do I clear/reset the BackColor of a windows application form? For instance, I have a set of radio buttons, each one changes the color of the background form color, when i reset the radio buttons i would also like to reset the color of the form back to it's original sta...

Send Form to class

How do I send the form to the class? You are making some object? for example : class Myform { public void Myf(Form) { Form f = new Form();//error } } private void Form1_Load(object sender, EventArgs e) { Myform mf = new Myform(); mf.Myf(Form1);//error } ...

Call a form sub from another form

I have a form Friend Class frmOrganigramma Inherits System.Windows.Forms.Form with a sub Sub OutList() How can i launch this sub from another form? Thanks ...

java form connections

hi i am new to Java i developed many forms but i am unable to connect those forms please any one tell me how can connect one form to another form for example after login screen my application form should be open ...

jquery/javascript: arrays

Hi, I am a begginer with Javascript/jQuery and I hope someone can help me with the following: I have a simple form (7 questions; 3 radio buttons/answers per question - except for question 5 with 8 possible choices ) and based on the selected answers, when user clicks on 'view-advice' I want to display relevant advices (combination of 3...

HTML (or Rails) button code issue

Hi there, I'm struggling with the following problem: What's the correct HTML (and/or Rails) code for a button that resides within a form, and that should lead to a new page, but should not submit anything (from the form)? Basically, the button should work exactly like a hyperlink. Thanks for your help! Tom ...

destroy / hide element in tpl file - quick forms

Hi, I have made a element in controller file . i have a if condition in tpl file. based on this i need to show the element created in controller file. But i am unable to do it. How do i destroy the element created in controller in tpl file ? added element in controller like this $form1 = new HTML_QuickForm('form123', 'post', "unlock.p...

cURL - can't get POST response

Hi, I'm trying a basic thing. I have two files: curl.php and form.php curl.php <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://localhost/test/test34_curl_post/form.php"); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT...

How do I write a select_year backwards from today's year?

I understand there is a select_Year but i can't figure out how to use it: = f.select_year("dob", :start_year => DateTime.now.year, :end_year => DateTime.now.year - 100 ) This is incorrect..how would you actually write this? My attribute is :dob ...

CSS design for large form - Design Advice

I have a large form that consists of all the input (text, checkbox, radio, etc...), I have them grouped together in a fieldset tag and a legend for each feildset. Each input has a label associated with it as well. My question is what is the best approach to display the information on one screen and take advantage of the horizontal real e...

Using VB 6.0 Form in .net which is embeded in a DLL

i have a DLL of a VB 6 Project that has one class n a form............. the form is called from that class when its constructor is called..........i maked DLL on whole project......add that DLL in my .NET project references.....now when i call that class of that DLL.....it give following error Creating an instance of the COM component w...

Submit form using jquery

I'm trying to submit a form using JQuery. My problem comes from the fact that the front end (html+js/jquery) and the back-end is not on the same site, but it does support JSONP. The form contains a file input field, so I would be submitting Multi-part form data. How would you resolve this? ...

Image form title recognition/classification

I'm looking for a method to recognize scanned image form (something like bank deposit slip), which consits of rectangles and text. See image sample firstlink text Image form: scanned images which were printed and filled out, this kind of form has title/rectangle borders/lines Form title recognition/classification: identify the type of t...

How can I read the available options of a drop-down in a PDF Form using ColdFusion?

I have a PDF with an embedded form. This form has inputs and drop-downs. I want to read the data out of the form, so that I can create my own HTML form from it. This works fine for the most part - I can get the field names and labels - however, I have no way of reading the available options in a drop-down field in the form. Is there any ...

Auto resize div when resizing browser

In my page, I have a form inside a div. When I resize the browser, some parts of the form won't be seen and scroll bars will appear. How can I do it in css wherein after resizing, the whole form will still be visible without having to use scroll bars? ...

How to create a form dynamically using JavaScript?

I want to create a invisible form anywhere into a HTML page dynamically using JavaScript and then submit automatically. I want to create the form given below: <form name='myForm' method='post' action='http://www.another_page.com/index.htm'&gt; <input type='text' name='myInput' value='Values of my input'> <input type='hidden1' value='Hid...