Hi
I have an issue. I have a show view that acts as a dashboard and brings in records from other models and then models associated to that. I have a simple search form that is working fine to search through one model, but I don't know how to have it look through its associated models as well. I don't think a full text search is necessary...
When I choose an image and push upload, I get this error in my controller:
Notice (8): Undefined index: File [APP/controllers/garage_car_images_controller.php, line 22]
I've also noticed that the $form->create line shown below does NOT generate form code in the inspected html. This is VERY weird.
Any ideas how to fix this? Thanks!...
I need to develop web application using ASP.net with C# to handle mysql database (viewing, adding, updating, and deleting).
usually I would use asp.net webform to develop this application with C# but now I'm considering to use AJAX but not sure if I should use it or not.
I have the option to do it.
should I switch to AJAX or no need a...
I've create a custom list with schema.xml, custom DefaultTemplates.ascx [copy of the DefaultTemplates.ascx render template "ListForm"], and custom variations of the NewForm.aspx, EditForm.aspx, and DispForm.aspx. I've hooked up the forms in the schema.xml and clicking "New" on the default AllItems view does go to NewPage.aspx as I would ...
i have 3 tables
chapters (id, name)
heading (id, name, parentid)
subheading (id, name, parentid)
the parents are the ids of the tables above each other.
i have a form with 3 combo boxes
chapter
heading
subheading.
i have vba for the onchange for chapter and heading. This code works fine:
Private Sub Chapter_AfterUpdate()
Me.Headin...
Hi!
i created a dynamic table with HtmlTable, HtmlTableRow and HtmlTableCell.
finally i've added it to the form with Form.Controls.Add(thisHtmlTable);
but the table was added in the wrong place...
`<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">`
`<form id="formPort">`
<!--this is the plac...
Hi,
I am trying to create a simple questionnaire for a website but am fairly new to javascript and html
I do have a basic function to calculate a percentage and have created the html form with radio buttons and a submit button
There will be about 20 questions in the questionnaire which will have yes/no radio buttons.
What I need to d...
I'm not asking about full email validation.
I just want to know what are allowed characters in user-name and server parts of email address. This may be oversimplified, maybe email adresses can take other forms, but I don't care. I'm asking about only this simple form: user-name@server (e.g. [email protected]) and allowed c...
Hello,
I have the base table called SnUser and a related table, SnAltceva
schema.yml
SnUser:
columns:
name: { type: string(100) }
age: { type: integer(1) }
level_id: integer
relations:
SnAltceva: { local: id, foreign: user_id }
and
SnAltceva:
columns:
user_id: integer
field...
I just want to know whether there is a way to answer this question with "Yes" without using JavaScript.
What I want to do is have a search form that automatically generates URLs like http://example.com/search/my+search+term or something similar when I enter my search term into a search text field.
EDIT: Due to some mis-understanding (a...
Hey,
I need to be able to specify using Javascript how to post a form that contains both the enctype as "application/x-www-form-urlencoded" and charset as "charset=UTF-8" in the Content-Type header. Any ideas?
I have a aForm object of type Form.
Thanks!
...
hello! i got a form:
<form name="form2" method="POST" action="post.php">
<p>ba$lik:
<input type="text" name="baslik" size="90"></p>
<p>spot kisa: <textarea name="spot_kisa"></textarea></p>
<p>spot uzun: <textarea name="spot"></textarea> </p>
<p>kategori: <select name='kategori'>
<? while ($kat=mysql_fetch_array...
Hello all,
I'm attempting to submit a form I've created out of an html string, like this:
var upload_form = "`<form action=\"uploadSong.php\" method=\"POST\" class=\"upload_form\" enctype = \"multipart/form-data\" target=\"upload_form\">`";
upload_form += "<input type=\"hidden\" name=\"showId\" value=\"" + showId ...
Hi,
I am using php to fill up a form. Now, it so happens that form is using ajax for many of its fields.
e.g.
select [country]
(ajax will show drop-down filled with states for that country)
select [states]
(ajax will show drop-down filled with cities)
select [city]
(ajax will enable a submit button)
If it is a simple html bas...
Hy,
How i try to do to validate that in a symfony form one of two fields is filled?
In their database definition are'nt required fields but i need that one of two fields will be filled by the user.
Thanks
Like this???
$this->setValidator('phone', new sfValidatorAnd(
array(
...
Well first of all sorry for the English.
I have the following problem: I have a base form with a panel docked to the bottom and inside the panel some buttons. The forms inheriting this base form can modify the visibility of the base form buttons by properties like "ButtonCloseVisiblity" that appears in the child form properties. The prob...
I have form that displays information on a project. Most of the fields on the form are bound to a Project table and display and update as bound fields do. However, I also have 10 checkboxes that come from a ProjectAudience table. Only if the box on the form is checked, is there is a matching record in the table. Therefor, I need to inser...
I'm trying to use the jQuery forms plugin to dynamically submit a form on change.
It's definitely working, but everytime a user changes an input value, it does the .post, runs my success "alert()" and then repeats, over and over, until I refresh the page to stop the loop. Here's the code:
<!DOCTYPE html>
<head>
<meta http-equiv="Conten...
One question about Dojo Dijit's "createLink".
Clicking on a created link doesn't actually pop up and show the link's URL page, but clicking a link shows the link properties dialog again and again.
How do I make so that it show the link's URL on the page?
http://docs.dojocampus.org/dijit/_editor/plugins/LinkDialog?highlight=%28create...
Everything was working perfectly ... suddenly after I installed Visual studio 2010 beta2, IE8 started to behave strangely.
Only the data that was sent to the browser gets posted back when submit button is clicked. Any additional fields are ignored and are nulls. It works perfectly on FireFox 3.5+.
I uninstalled Visual studio 2010 beta2 ...