Can someone help me render a form and table on the same page? I'm sure it's easy, but can't think of how to do it.
Here's hook_menu:
function ncbi_subsites_menu() {
$items = array();
$items['admin/content/ncbi_subsites'] = array(
'title' => 'NCBI Subsites Module',
'description' => 'Informs Drup...
I have an ASP form that needs to submit data to two different systems. First the data needs to go into an MS SQL database, which will get an ID. I then need to submit all that form data to an external system, along with that ID.
Pretty much everything in the code works just fine, the data goes into the database, and the data will go to...
Hi, I would like to create a widget for use in Django Forms. There is a problem though: i don't know how to make it properly work on a mobile. I'm wanting to create something like this:
Send message to: search-box-here search
and pressing search will post the page, but not actually submit the form at all. instead the widget will perfor...
Can anyone help. I am using a formview in VS 2005. I have different elements in my form databound to a database and I am performing an INSERT SQL statement. No problem. The problem is that I am trying to enter the current date into the SQL statement and I am having a problem.
I can add <%now()%> to the "Text" property of the asp:Tex...
I have forms that I want to display in different languages : I used the label parameter to set a parameter, and used ugettext() on the labels :
agreed_tos = forms.BooleanField(label=ugettext('I agree to the terms of service and to the privacy policy.'))
But when I am rendering the form in my template, using
{{form.as_p}}
The labe...
I have a nested form in a rails view that is called like this
<% f.fields_for :invoice_item_numbers do |item_no_form| %>
<%= render 'invoice_item_number', :f => item_no_form %>
<% end %>
and the partial (_invoice_item_number.html.erb) looks like this
<div class='invoice_item_numbers'>
<% if f.object.new_record? %>
<li><%=...
Hi friends,
I'm working on a website, it has membership. visitor fills form and be member. now somehow I need to forward the email at this signup form to my mailchimp mail list, so from 1 form I will get membership (to my site's db) and added email to mailchimp (for newsletter)
is it possible?
appreciate advises!! thanks!
...
Hi,
i'm trying to join in the same action the login and the register forms. This is what i'm trying:
modules/miembros/actions.class.php
public function executeAux(sfWebRequest $request)
{
// I execute this action
}
modules/miembros/templates/auxSuccess.php
<?php include_component('sfGuardRegister', 'register'); ?>
<?...
Hi Everyone,
I have a simple form to enter details of a new case (kase), it's working well and clicking submit stores the information and takes the user to the show.html.erb page. However, I wanted to move part of the form to the sidebar - to make things a little easier to see and use for the user, however, when I moved the section to ...
So here's my problem: I have two types of registration, registration A and registration B, each will have some of the same fields and some different fields. I was going to create abstract class registration and both A and B would have their own classes that extend from registration. My question is, should I create a seperate Validatio...
Hi,
I was looking something similar with winforms like
// in Form 1
this.Hide();
Form2 form = new Form2();
form.Show
// in Form 2
// if button pressed, Form 1 will be displayed, while Form 2 will be Hide.
I was trying my luck for FormEventHandler but doesn't know where to start.
Any suggestions/ideas?
...
I have an html form whose action should be set dynamically throught javascript. How do i do it? Here is what i am trying to do:
<script type="text/javscript">
function get_action() { // inside script tags
return form_action;
}
</script>
<form action=get_action()>
...
</form>
...
Say I have a form with these fields, and cannot rename them:
<input type="text" name="foo[bar]" />
<input type="text" name="foo[baz]" />
<input type="text" name="foo[bat][faz]" />
When submitted, PHP turns this into an array:
Array
(
[foo] => Array
(
[bar] => foo bar
[baz] => foo baz
[b...
G'day guys, I'm having an issue with filtering the presentation of several thousand trade items I have in my system. As per the specs of the system we're building we have to have a form that allows people to put in a start date and then an interval in minutes, to filter the presentation of the items. I've built my helper functions to ret...
I am using Javascript to alter the innerHTML attribute of a <td> and I need to get that info back in the form submittal. The <td> corrosponds to an <asp:TableCell> on the server-side, where the Text attribute is set to an initial value.
The user cannot enter the value in this particular field. Instead, its value is set by me (via clie...
G'day guys, I have a current set of data, and I generate multiple analyses of this data (each analysis into its own active record item called a pricing_interval) using a helper function at the moment.
Currently to analyse the set of data, you need a start time(using datetime_select) an integer (using text_field) and a name (using text_f...
Hello I have a jsp with an html form.
I set the content type like this:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
When I send special characters like á é í ó ú they are saved correctly in the database. My table charset is utf-8.
I want to change iso-8859 to utf-8 like this to s...
I am about to create a new web site and i do not know what is the best approach to do it
use web form or MVC any hint?
...
Is there a way to disable "eager" validation using the jquery.validate plugin? Either through an option in the script or as a hack? "Eager" validation kicks in once the form has been validated once - after that, invalid fields are validated onfocusout. I want to disable this behavior, and change my forms to only be validated when the s...
Hi,
As I am using Ruby on Rails to build an application, which only runs locally, I am lost in the woods (a nuby without a compass). I have a simple MVC application and my view is missing one thing I could really use. I want to select a local file just to retrieve it's filename. I know it's relatively easy to use the form tag helpers fo...