forms

how do I create a jQuery nTier select compare script?

假装没事ソ 提交于 2020-01-16 12:02:16
问题 I am working with jQuery on trying to creating a match/mismatch alert. Basically I have an nTier series of drop downs and input fields. If a user drops down the select and chooses a value and that value matches another select group drop down. I then need to go and compare the price and perCase values and make sure there is a match. If the prices don't match, I need to generate an alert...If the cases don't match I need to generate an alert. I can do two, but I need this to aggregate and

PHP - Use cURL to send information to another page

五迷三道 提交于 2020-01-16 11:58:09
问题 I am trying to make a validation for a form and if everything goes right it should go to the 2nd page, where it should take the information from the $_POST. I was told that given the way I am doing it, $_POST would not work and I should try cURL. I tried to make it work, but somehow it does not work. It redirects correctly to the install2.php but its not passing any variables to it. What i am doing wrong? My code is as follows: <?php //If the person pressed summit check for the information

PHP Sign-up Form Not Working [duplicate]

假如想象 提交于 2020-01-16 10:38:30
问题 This question already has answers here : Reference - What does this error mean in PHP? (36 answers) Closed 2 years ago . I am building this PHP login system to work on my skills. When the user signs up and their information is secured in the SQL database, I want to display signup.php?signup=success on top of my screen. When the user types in the information and something seems to be missing, I want it to display signup.php?signup=empty. However, on my current page, even when I type in

MultiValueDictKeyError Exception Value: 'stripeToken' [closed]

不想你离开。 提交于 2020-01-16 10:16:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 days ago . I am trying to insert a stripe credit card form, but I am receiving this error which I believe means that my view is not receiving a token associated with the form that was submited. "MultiValueDictKeyError Exception Value: 'stripeToken'" Error. I included my Views, HTML, and JS. Views.py @login_required def

PHP how to not refresh input values after press submit

二次信任 提交于 2020-01-16 09:59:49
问题 I have problem, when I press submit button in my contact form all input values refreshing, it's good if all fields are filled correct, but if are some warning users must see previaus values, but all are cleared. My Javascript skills are low, maye are solution to solv this problem with php and html ? 回答1: a simpler way is use html5 storage . store value on onkeyup event and destroy if submit successful for an example <input id="title" type="text" value="" name="article_name"> script to check

Delphi DLL Modal Form causes AV on Second Call

二次信任 提交于 2020-01-16 08:55:30
问题 I am trying to show a modal (FMX) form from a DLL. Eventually this will be ported to OSX so I'm trying to keep the 'Windows' code to a minimum. Based on what's in the forum I have tried to keep the code as simple possible. I know that the first time showmodal is called, the code works as expected, but if I subsequently call the DLL function, I get an AV trying to create the form. I then tried to (without exiting the function) create and free the form several times, this works without issue.

Delphi DLL Modal Form causes AV on Second Call

限于喜欢 提交于 2020-01-16 08:55:04
问题 I am trying to show a modal (FMX) form from a DLL. Eventually this will be ported to OSX so I'm trying to keep the 'Windows' code to a minimum. Based on what's in the forum I have tried to keep the code as simple possible. I know that the first time showmodal is called, the code works as expected, but if I subsequently call the DLL function, I get an AV trying to create the form. I then tried to (without exiting the function) create and free the form several times, this works without issue.

How to refresh form when I open?

别说谁变了你拦得住时间么 提交于 2020-01-16 07:41:22
问题 I have a CheckBox in my TabPage on my Form, if I select the checkBox, the value is saved in a Table field (present in my FormDataSource: ParametersTable). I want to refresh the form when I enter in TabPage, just Like pressing F5. Is it possible? 回答1: There is a great article about different methods of refreshing the form's data here. Here are the basic outline: 1. Refresh This method basically refreshes the data displayed in the form controls with whatever is stored in the form cache for that

jquery code is not working

我怕爱的太早我们不能终老 提交于 2020-01-16 07:16:11
问题 Good day All, I've faced a problem using a jquery script on my html page. The script works fine on jsfiddle On my page I used: <script src="http://code.jquery.com/jquery-2.1.0.min.js" type="text/javascript"> </script> <script src="bookform.js" type="text/javascript"></script> Pickup location:<br><input placeholder="dd-mm-yyyy" type="date" name="date" required="required"> Name on meeting plate:<br><input type="text" name="name" required><br> Your phone number:<br><input type="text" name="phone

How to make C# tab switch between form

99封情书 提交于 2020-01-16 06:56:08
问题 I want to know if it possible to use tabs (like Google Chrome or many others program) in VS Express 2010 to swap between forms without closing any window. I know there is the tab control item in the tool box but as far as I know you need to create the tab content in the same form. I'm looking for a way to swap between form like if I put Buttons in the the top of each form (workers, customers, ext) that open the form I clicked and close the one I'm in but not change the main window. 回答1: You