hey guys
im using a form in php to submit some information into my database
so i used two function to do this
but how to show the result in th same page that has the form
Im trying to fill a dropdownlist based on an other one:
Departments and SubDepartments.
i followed this link: http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html
when i try to fill in a form it gives me an error:
Request Failed (-- securityException) on this line:
q.FileLocation = q.FileLocation + "&FilterField1=Department&FilterValue1=" + GetDepartmentValue();
and the second dropdownlist (subdepartments) is not filtered.
Any idea what might be the problem?
Has anyone used javascript/ajax to take data from one form field and put it into another? I'm trying to create a form that when one text input is filled out a second is auto-populated with the first letter of the word that is in the first text input. I'm thinking I can limit the second text input to one character to help get the desired result, but I'm not having luck finding the javascript to get the second text input to auto-populate from the first. Any suggestions?
I'd like to create a simple webservice in scala similar to:
http://www.artima.com/lejava/articles/threeminutes.html
Is there an easy way to do this?
EDIT: I found a tutorial for lift http://wiki.liftweb.net/index.php/HowTo_do_Web_Services. However this seems to be way too complicated for what I'm looking for.
I have a form in a Compact Framework application. When the user presses the 'X' button in the top right, the screen doesn't refresh until the users taps anywhere on the screen.
The form is being shown using this code:
using (var customerDetailsForm = ObjectFactory.Get<CustomerDetailsForm>())
{
customerDetailsForm.AssignCustomerId(customerId);
customerDetailsForm.ShowDialog();
}
hi all,
trying to develop web form using jquery.
all i need is to have several (don't know how many) buttons on one form.
all of those buttons have to call one same function, and to pass one parameter to that function. that function have to do some post method, but i can handle it.
so, my main problem is that i don't know how to develop JS that will call specific jquery function.
can you help me with this?
I want to make a real time form validation in asp.net form in which when i lost focus a field it show an error or success of field entrance data
i search for best way to do that ..
and if i want to do the same by validating data from SQL Database ... what's the best choice for doing that ?
I'd like to write a simple decorator that I can put above functions in my controller to check authentication and re-direct to the login page if the current user is not authenticated. What is the best way to do this? Where should the decorator go? How should I pass cookie info to the decorator? Sample code is greatly appreciated.
Thank you!
I have main form and some other forms, that can be shown by controls, using ShowDialog(control). Also I have event handler on the main form, that can be handled anytime. How can I check inside it, is there any other dialog forms?
Hi
I have a table with the following structure:
id int(11),
name varchar(250)
I have lots of records in the table but when I am trying to find a particluar record which has the following value on the name field:
Lorem ipsum d\'olor sit amet
The query is simply returning a blank recordset. I am not being able to figure out this weird behaviour, when my query is as simple as follows:
SELECT * FROM slot_games WHERE name='Lorem ipsum d\'olor sit amet'
Would appreciate your help please! Thanks in advance.
Hello, I have some text in a web browser on my form in visual studio, this form is going to be displayed on a big screen and it's content need to be mirrored(flipped) in order to be seen on the other place through mirror. It is not rotation actually. I know it is possible to do it with images, but it is not applicable in my case, because browser's document is scrolling.
Any help will be greatly appreciated!
Hi all,
I am making a simple message board with some WYSIWYP function using cakePhp 1.26.
I have googled for some hints and finally reached this URL:
http://bakery.cakephp.org/tags/view/wysiwyg
But I am not sure which one is the best out there.
For the jquery form plugin http://jquery.malsup.com/form/#options-object, I see a success callback, but how do I run code if there is a failure like a network issue?
Hello everyone!
So I was just wondering if it was easy to develop a very simple Firefox plugin where you could click a button, and it would execute some Javascript code!
Please note that I have never developed any kind of plugin for firefox, I just want to know if that is an easy task to do (like less than an hour)
Hi
Is it possible to create a form that only displays if the user hasn't ever complted it?
Once it has been completed the form should never display again?
Thanks
Hi,
I've seen jquery used to change a form select drop down box in to a 'pretty' drop down list widget. I can't remember where I saw this but does anyone have any links or example code which show examples of how to use jquery to style form elements? I'd prefer it if it was code rather than a built in plug in.
Thanks
I'm looking for a simple DB2 query that can be used to test if a database connection in pool is still valid. It needs to be a generic query that would execute regardless of which databases exist.
For other database servers, I've used something like 'SELECT 1' or 'SELECT version();'
What would be an equivalent for DB2?
Thanks!
I have two displays (two monitors) connected to my machine, and I noticed a strange thing happening today. I had an Explorer window open with my compiled exe on my primary display, and when I double-clicked it, it opened in the primary display (left monitor). However if I pressed enter to launch the executable, it started in the secondary display (right monitor). The window state of the initial form is maximized. Is there a way to tell C# to open the initial form in the primary display?
i have tried jQuery('#form_id').serialize(). this returns only the form data as a url encoded string. is it possible to get the form data as an object?
I want to show a dialog box or form immediately after my application loads. If I place a .showdialog in the main form load event the dialog shows before the application shows.
I’m trying to give some user tips when they load my application.
Thanks
Trying to get a thread to change form controls in Windows Mobile.
Throws an unsupported exception.
Does this mean it cant be done at all?
If not, how do I go about this? Forms are created in the Parent/Main thread then a thread is created to do some work in the background but I want to make it so the Background thread can update the form to show its completed...
I want to let a user pass a custom text field, App.CustomTextField, in a Ember component using block form. However, that App.CustomTextField needs access to the component to manipulate its properties. How can I pass the component to the textfield using block form? I would like to pass the component as a property to App.CustomTextField, but how do I access the component's scope?
{{#blog-post}}
{{view App.CustomTextField component=?}}
{{/blog-post}}