forms

Allow PHP inside form

I want to allow people to use PHP inside of a textarea of a Wordpress Admin Panel <textarea cols="70" rows="5" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" /> <?php echo stripslashes(get_settings($value['id'])); ?> </textarea> Will allow HTML usage, however not PHP... U...

Clean/Disable forms history

Hi! I am building my chat app using Djago and Ajax. How d I disable the form history popping up while typing in a message? Its annoying! :-0) ...

form builders for mobile devices

hi all, We're going to build survey apps for rural development(in India) using cellphones, including some Nokia and Android devices. For building and capturing user info, we're looking at OpenXdata( which is open source J2ME solution) and exZact, (which works on iPhone/iPod Touch). We're also looking at ODK. What tools/framework have ...

MS Access 2003 - Listbox formatting control

Just some general formatting questions about return records to a list box on a form: I have a list box that returns sets of records based on SQL statement in VB. I need the SQl statement to return the ID (auto number) of each record, because if the user selects from this list box, I need the ID as a pass parameter to the next form. But ...

How can I read the URL-Data send with POST in Perl?

I'm trying to read out the POST-Data that was sent from a form in a page to my Perl Script. I googled and found out that: read(STDIN, $param_string, $ENV{'CONTENT_LENGTH'}) reads out the whole Data-String with and writes the whole string to $param_string in the form of Param1=Value1&Param2=Value2&Param3=Value3 by spliting it at the...

Vista and Widows 7 borders cut off form content

Forms on Windows 7 and Vista have thicker borders than those of XP. As a result, some content that spans the entire height or width of a form will be cut off. Is there a simple way to fix this, or do all the forms of my application need to be resized to accommodate for this? Update: It appears to be the fault of the form size and not...

Getting Enter key to submit a dojo.form

I have a form element I want to use in many forms, a standard submit button. <div dojoType='dijit.form.Button' type='submit' iconClass='dijitEditorIcon dijitEditorIconRedo' style='float:left;margin:0 2px 00;padding:0;' onClick=\"filter{$this->_grid->getId()}(); return false;\">Refresh </div> Current, this submit buttons ...

Order confirmation page in rails.

Hi guys, I've been trying to create an order confirmation page for my rails app, and am not quite sure how to go about it in a restful way. There were a few answers on this question that got me halfway there, but the problem was that I wasn't quite sure how to set up the form in the rails view so that it would take the user to a confir...

How to communicate between two instances of open MDB with same form?

In VBA (Access 2000) is there anyway to send information to a form between two open instances of the database? For example : User 1 has an instance open of DB.MDB on his PC and has FormOne open. User 2 has another instance of DB.MDB open on her PC and has FormOne open. Can User 1 maniuplate the contents of a textbox on User 2's FormO...

PHP Filtering Form Input

Hey All, I'm sure someone has covered this before, but I didn't find it in a quick search of the site. Right now I'm trying to filter some input from a WYSIWYG, so that it will remove characters like: ¢©÷µ·¶±€£®§™¥ but keep HTML characters. I've tried htmlentities and htmlspecialcharacters, but that still seems to leave those characters...

jQuery.forms.js works using click() but not submit() (using selenium)

My form has an ajax handler provided by jquery.forms.js. form.ajaxForm({ dataType: 'json', clearForm: true, success: function (data) { form.replaceWith(data); } }); I'm testing this using selenium (the python RC interface), and it works when I click() the button, but not when I submit the form: locbase = "dom=docum...

Drupal 6: Getting custom fields into the database

I needed a custom field that couldn't be provided by the core profile module (Select list populated from a SQL query). I was able to successfully add the field with proper options; however, I am unsure how to handle this new field once submitted. From what I understand, I need to write a function that handles my SQL insert, and then cal...

VB 6.0 SavePicture Method Problem

I am using the following code to save an image created on a Form to a bitmap file: SavePicture Form1.Image, Output_Dir + Patternname + ".bmp" DoEvents Now the image created on the form is a 1600x1200 pixel image (which looks correct); however, when I save the file using the above code the image is always saved as a 1920x1200 pixel bi...

Help with rails collection select

I need to add different values for each option tag in my collection_select cause Im trying to use this jquery plugin.... How do I do that? Heres my collection select code <%= e.collection_select(:id,State.all,:id,:name) %> The output should be something like <select name="state[id]" id="state_id" class="selectable"> <option value=""...

Form Submission- success

Hey guys, well I have a very weird Form Submission problem on which I wasted days and still cannot figure it out: 1) when I fill in the form properly (for a new user) works well 2) if I try to register a user with an existing email... it just refreshes instead of throwing an error 3) if I submit the form after a failed attempt I do not ...

Retrieving data from OleDb query not displaying in MessageBox

I get no exception errors with the below code which could mean there is no problem with my sql statement. However upon trying to verify if it returns any value, i pass the returned items to a string value and try to display it in a message box. the problem am facing is the message box only displays the name of the column and not the dat...

Usability standards when combining AJAX and regular POST-based form saves

I'm working on a project where on certain pages (e.g. settings pages) we combine AJAX and regular fill-out-the-form-then-submit POST based operations. I'm curious if anyone has advice on improving the usability of such a page. One of my ideas is that when the user enters/modifies a value in a non-ajax part of the page, some sort of div...

Javascript code for handling Form behaviour.

Hello, Here's how the situation looks : I have a couple simple forms <form action='settings.php' method='post'> <input type='hidden' name='setting' value='value1'> <input type='submit' value='Value1'> </form> Other small forms close to it have value2, value3, ... for the specific setting1, etc. Now, I have all these forms placed o...

Display loading animation while starting up a form in VB .NET

I understand this might be asked before : http://stackoverflow.com/questions/403202/show-a-loading-screen-in-vb-net But anyone can provide me something like : ' Show Loading Screen --> Do anything like initializing or updating UI ' Close Loading Screen In this case I can fire (Show Loading Screen) anywhere in the form I want, Li...

Turbogears, mako form displaying as plain text

Hi I'm generating a sprox form with Turbogears 2.1 and trying to display it in a mako template. Here is my code: To define the form: class NewUserForm(AddRecordForm): model = User newuserform = NewUserForm(DBSession) The controller definition that assigns the form and calls the template: @expose('limelight.modules.users.templat...