form

Easiest setup of email form on IIS 6 using PHP or ASP

Hey, I've tried several variations of ASP & PHP native & 3rd party mailer programs. I have hit a wall at almost every point between setting ini parameters from within the scripts to permission denied/transport fails. I would be wasting time to show my examples for what I've tried so far. All my searches produce too many results with t...

Displaying another app in my form

I remember I had some app the launched other applications and placed them in tabs in it's form without the titlebars. I wonder how can that be done? Preferably with C# but if it's not possible/too hard within .NET C++ is fine too. Thanks. ...

how to call web form in vb.net using (asp.net)

I am beginer to ASP.Net. Can u tell how to call new page from the existing page. In VB.net by executing the statement "Form2.show()", New page will be loaded. In the same way how to load new page in ASP.Net ? ...

Sending an E-mail from a website without Server-Side scripting.

I'm trying to send a simple email from my website using a HTML form. I am not allowed to use any server-side scripting. I'm wondering if it's possible to send a simple message from a HTML form using maybe Jscript or Javascript or DHTML or VBscript or something else? Thanks all :) P.S. It can't be mailto: either. I'm not expecting a mira...

Type code in to a text input form, how?

Hello! I want to know the best way of writing out my "$imagepath" in to this input This is my upload script <?php if(isset($_POST['submit'])){ if (isset ($_FILES['new_image'])){ $imagename = $_FILES['new_image']['name']; $source = $_FILES['new_image']['tmp_name']; $target =...

how can i create a form like this ?

in this page : https://www.psd2html.com/order-now.html you can choose the items you want and the price will change with your selection. how can it be built ? ...

Type code in to a text input form, how?

Hello! i have this image upload script. <?php if(isset($_POST['submit'])){ if (isset ($_FILES['new_image'])){ $imagename = $_FILES['new_image']['name']; $source = $_FILES['new_image']['tmp_name']; $target = "temporary_images/".$imagename; move_uploaded_file($sour...

Delphi apps, form size varies on different machines

I've got a Delphi 7 app, on the WinXP development machine the form size is the same as it was designed. However, running the app on a Vista machine, some forms have been enlarged 20-30%, leaving big blank spaces on the right and bottom edge of forms. On one of our client's WinXP machine, the forms have shrink, causing scroll bars to sh...

Need a Suggestion for a Good Class to use for Form display and validation (PHP)

Thanks in advance, I am looking for a good way to make forms in php. I don't want to have to create all the items in html and want it to look good, be easily validated, and in general be easy to work with. Suggestions. ...

How to calculate difference of two fields on form submit Ruby on Rails

I am new to Ruby on Rails and have been using Scaffolding. On one of the forms I want to be able to have two fields and then have the difference between the two submitted to the database. Instead of :pickupamount, I want (Ending Amount - Starting Amount) to be calculated and entered into the pickupamount column of my database. Thanks ...

C# form custom textbox format binding

Hi, I haev an object with a DateTime property. I want to map the time to a textbox (thus want the user enter the time, it's directly reverberated to my property). However I just want to display the time. How can I say this (ie the format should be something like hh:mm to be correct). Less specifcly how can I format the text "sent" to...

C# best way to "validate" an object bound to a form

Hello, I got a business object bounds to a form (each property is bound to a control). There is some business specificatios (such as this field should not be empty, this one must be greater than 0 etc...). What is the best way to check all the rules ? I currently have a validator on each contorl, so I can check for all validator to be ...

jqmodal window closes on form submit for all browsers except FF

I have a comment window that opens up in a small jqmodal window. I am trying to use $.ajax to submit the form and show "success" in the small modal window. but in all browsers except firefox, the modal closes when I submit the form. <script type="text/javascript"> $().ready(function() { $('.reportForm').submit( function(){ if (docum...

Javascript return false - from function

Is there any way to do the following: validateLogin(); return false; But actually like this.. validateLogin(); And here is the function: function validateLogin(){ if(hi=true){ return true; } else{ return false } I want to attach this function for the event of a form being submitted, so if HI is false - i want to return false; me...

How to update DIV with .replace upon form submission

Hello. Could some please advise how to include a php file to update content in a div upon successful Ajax form submit? This works: jQuery(form).ajaxSubmit({ success: function() { $('#ajaxRenew').load('script.php'); } }); but my script.php requires headers, etc, from the page it gets included into (it works ok as "Include" normal...

How to accept "enter" value?

I am using php5. I am doing a form, a textarea, where user can send it to his/her friends. But currently, in my textarea form, if i type : Hello XXX, Its been a while. How are you? But when I echo it, it displays Hello XXX, Its been a while. How are you? How do I accept the enter button, so that when I display I can d...

BelongsTo problem in cakephp and html select, i can't understand how to do that

Simple question by a cakephp noob: i have two models, Player and Team. Team has an id (int) and a cool_name (varchar). Player has an id (int), a cool_name (varchar) and a reference for the team table, team_id (int). Cool_name instead of name because i don't have tables in english, so i can't use the field 'name'. So, a team hasMany ...

Delphi 7 forms, anchors not working in Vista

The software is built on Delphi 7. On my XP machine, the form resizes as I expect. However, on two Vista machines, I have components with anchors set to [akLeft, akTop, akRight, akBottom], but when I resize the form, the components don't stretch with the form, leaving blank spaces on the right and bottom edge. On the XP machine, the com...

C# IDataErrorInfo and child property

Hello, I have an object bound to a winform and this object implements IDataErrorInfo. I have an error provider. The problem is when a property of a a property change. There is no problem when I change the age (ie the rules are checked and displayed/removed correctly). But when I change the job title, the error is not displayed/removed ...

How to get the value form a dropdown list using xajax.getFormValues?

I have a form and have several text box, and a dropdown list. I am using the following jquery code to get the values of my form // JQuery Code parentFormName = $(this).parents('form').attr('name'); xajax_addNewRecord( xajax.getFormValues(parentFormName) ); My php code looks something like this: protected function addNewRe...