Hi,
I'm not very experienced in C#/.NET [WebMethod] (note: I am on Mono) and I wonder how could I use the JQuery.form plutin.
I have a Service.asmx and Service.asmx.cs with methods I call with standard jQuery AJAX call.
In the form "action" attribute I put link to the Service (/blah/blah/Service.asmx/myMethod). Which firm and/or attr...
Just to give you a bit of background i have a system where there's certain calculations that need to be calculated in the main section, there'll be various form fields under different tabs, for simplicity sake i have 10 sections, all with 20 drop down boxes and when you change the value of one of the drop downs it's recalculated in the m...
Using a 'clicked' override on a button, I'd like to modify values in an Axapta form.
I'm able to get data from the form field using:
str strOld = Form_FieldName.valueStr();
I'm able to prepend text to the field using:
Form_FieldName.pasteText(strNew);
I can't seem to find a .clear method or .value= method. I'd like to replace...
I'm using the JQuery Form plugin to do a file upload on an ASP.NET MVC application. I've learned that since an iframe is used for file uploads (rather than XMLHttpRequest, which isn't possible), the server-side check for IsAjaxRequest fails.
I've seen a few posts related to this question but haven't come across any good solutions to wo...
I'm using PHP to validate form input before the form data's submitted to a MySQL database.
What would be the best way to validate a form input for the year only? I have a form input where users should input a date, in the form of a year only. Obviously I can check that the input's numeric and has only 4 characters, but what would be the...
Hi guys,
I am building a german payment provider into my site.
But when I click on "Submit", nothing happens. Can someone please help me? I think I've looked at it too much and I can't see the forest for the trees anymore...
<form method="post" action="https://www.sofortueberweisung.de/payment/start">
<input na...
I frequently see, in particular in the PHP world, the following writing if you want to create a FORM array.
<input name="MyArray[]" />
<input name="MyArray[]" />
with the square brackets []. Nevertheless, the submit operation just passes the same key entry twice. It appears that the [] is just conventional that maps nicely to the PHP ...
I basically have a form inside of Flash that I need to submit to a server-side processing page, which will then return either json or xml telling if it succeeded or not ( json, xml I suppose ). My version of Flash is CS4 and I'm wondering if there are any libraries or frameworks I can use to accomplish this.
...
Hello,
I have a java servlet which get the form request from one webpage in domain A, and it would deal with the form, and would send the result in another form as a request to another webpage in domain B.
I'm wondering how to submit the form programmatically in Java servlet? I tried to use
javax.servlet.RequestDispatcher.forward(req...
Hi
How can two forms share the same inputs?
I have two forms, one for two different paths... if i wanted to get the user to enter their name, but only once.... how could both forms get hold on this field?
...
Hi All,
I have a problem over here. You see, I wanted to create my own sample application in C# but without Visual Studio creating the files automatically for me. So I figured that I'd simply select "Empty Project" and then create the Program.cs file myself, and then manually add a Winfows Form from the Project menu. That went good.
Bu...
Hi
I did register form in with zend form
$password = new Zend_Form_Element_Password('password');
$password->setLabel($this->_translate->_("Password:"))
->setRequired(true)
->addValidator('stringLength', true, array(4, 32));
$confirmPassword = new Zend_Form_Element_Password('confirmpassword');
$confirmPassword->setLabel($this->_...
I have set the target of the "pic_form" to a div (pic_target).
The form (pic_form) and the div (pic_target) are both inside the same iframe (iframe_pic).
Whatever I set the target to of the "pic_form", a new page pops up and there is my php script (imageUpload.php) output... WHY?
Here is my main page code:
<form><iframe name="i...
Most of time, the source of File Upload didn't work was forgetting enctype in HTML Form (for me).
Normally, we do not need to add enctype in HTML Form for regular requests. But we do need to add this in HTML Form for file upload...
enctype="multipart/form-data"
I just curious, why file upload didn't work without enctype.
Thanks.
...
There is one form, inside the form there are many checkboxes. Two operations can placed upon these ticked checkboxes. Since there is only one "submit" button for a form, how to walk around this?
I know I can set two buttons, one button for each operation, and an extra "submit" button, which looks like the pseudocode below:
<form>
<chec...
Hi,
I'm using Symfony 1.2 with Doctrine. I have a Place model with translations in two languages. This Place model has also a nested set behaviour.
I'm having problems now creating a new place that belongs to another node. I've tried two options but both of them fail:
1 option
$this->mergeForm(new PlaceTranslationForm($this->obje...
Hi, my question is this: how can I upload multiple documents in a sharepoint site and still have that page woth the form saying content type like it does when I upload one document?
Thank you.
...
My partialView is Opened in the modal dialog form, User select special row, I want to Submit the parent form with special value as a parameter.
My parent form is:
<form id="mainForm" action="<%= Request.RawUrl %>" method="post" enctype="multipart/form-data">
and my submit button in the modal dialog (and in the GridView) that post dat...
Hi,
I am using Zend Form to create dynamic form.
I have Zend Form validation too.
Trying to remove Validation dynamically, but not getting any success.
Can you plz help me to remove Zend Validation.
Bellow is my code for remove validation :
$toRemValArray = array();
$toRemValArray[0] = 'ele_4af42ceac7810';
if(isset($_POST['btnPost...
you cant change the value of the input type = 'file' in a form because of security reasons.
But is it possible to read the value at all with javascript to then check extensions and validate the form? or will that also be a security breach?
Some examples would ease my pain...
thanks
...