I have a data model that is something like this:
public class Report {
// report owner
private User user;
... typical getter setter ...
}
public class User {
... omitted for clarity
}
What happens is when a report is created, the current user is set to the report user object. When the report is edited, the spring controlle...
I'm building a site using CakePHP and am currently working on adding data to two separate tables at the same time.. not a problem.
The problem I have is that I'm looking to dynamically alter the form that accepts the input values, allowing the click of a button/link to add an additional row of form fields.
At the moment I have a table ...
I am modifying a PDF form by hand (in text editor) and so far it's been a lot less impossible then I expected (save for a few missing options that I thought would be obvious), but now I'm trying to a have certain fields have filled in values, and I'm stuck.
Basically, if I set the value in the PDF using /V (some value) and then open the...
What I need is:
what trigger to use and where to put it.
I will give you an example of what I am doing.
I have a Contract form that is fully editable except the contract financial areas, which is read only. I want the user to press a button called, “change rates” and that will have a trigger “When-Button-Pressed” and call_form(Up...
I have created a form that is used for both adding and editing a custom object. Which mode the form takes is provided by an enum value passed from the calling code. I also pass in an object of the custom type. All of my controls at data bound to the specific properties of the custom object. When the form is in Add mode, this works great ...
We are building a website that contains a large number of database tables that need to be edited by the CMS administrator.
Some of the tables are fed by form submissions from users on the front end of the website.
Some of the tables are purely in the CMS and are used to create custom modules on the front end of the website.
Although the...
I am creating a form designer. It will generate PHP code which will produce an HTML form. Users will fill in fields and the PHP will store user input in a MySql database (and, of course, they can use the designer to generate forms which query the database).
I am using Borland C++ Builder (very similar to Delphi & and you can get the sa...
Hi,
I'm running the following code to start my threads, but they don't start as intended. For some reason, some of the threads start with the same objects (and some don't even start). If I try to debug, they start just fine (extra delay added by me clicking F10 to step through the code).
These are the functions in my forms app:
privat...
In my Delphi Project i want to have a 'Settings' button that when clicked, opens a second form (i think this is the correct term, i essentially want a new window to open) for settings.
When the user has finished changing the settings on this new form, i want the form to close on a button click.
The settings the user types in will also ...
My Javascript and JQuery skills are poor at best and this is **
I have the following three elements in a form :
<select name="event_time_start_hours">
<option value="blank" disabled="disabled">Hours</option>
<option value="blank" disabled="disabled"> </option>
<option value="01">1</option>
<option value="02">2</o...
I saw a similar question asked and answered for ASP.net here http://stackoverflow.com/questions/484327/how-do-i-prevent-visual-studio-from-renaming-my-controls
But I am trying to prevent this while writing a Windows forms app in VS 2008 using c#. I want to copy/paste a ton of controls without them being called Checkbox1 etc. I'd rathe...
Anyway to access the widget/render a specific choice from a ChoiceField?
APPROVAL_CHOICES = (
('true', 'Approve'),
('false', 'Re-Submit')
)
class ProofApprovalForm(forms.Form):
approved = forms.ChoiceField(
choices=APPROVAL_CHOICES,
widget=forms.widgets.RadioSelect
)
Would like to access the choices i...
I want to block non-browser clients from accessing certain pages / successfully making a request.
The website content is served to authenticated users. What happens is that our user gives his credentials to our website to 3rd party - it can be another website or a mobile application - that performs requests on his behalf.
Say there is ...
How do I create reusable custom new item form + preferrably, i don't want to tie this form to content type? I want to force render one hidden field (it could be render on the page, but make invisible or render on the page and display) and set field value programmatically (that's why it has to be rendered - to set it's value).
Google has...
Hi guys,
I have set up a PHP form for a competition, for users to enter and all information to be stored in a database. I used the following NetTut+ tutorial to do so: http://tr.im/SwAd.
I've got the form submitting to the database as required, but with so many additional questions being asked, I would like to split the form into two ...
I'm having problems stripping the tags from the textual inputs retrieved from my form so as to do something with them in checkout.php. The input is stored in a multi-dimensional array.
Here's my form:
echo '<form name="choose" action="checkout.php" method="post" onsubmit="return validate_second_form(this);">';
echo '<input ...
I'm starting my first C# project, and I want to make a "form designer" (like the one in VS).
The idea is, there will be a visual form designer with a limited toolbox, which will generate Python code (later more) to create the same form.
Problem is, I have no idea how to even get started. First of all, I have the form designer in VS: ho...
I've got a form and I need to post data to the server every time a field in the form is changed. How do I apply a function to each child element of the form on blur?
...
I am building a library to automatically create forms for Objects in the project that I am working on.
The codebase is in C#, and essentially we have a HUGE number of different objects to store information about different things. If I send these objects to the client side as JSON, it is easy enough to programatically inspect them to ge...
When I refresh a page with Firefox, the values of the check boxes, input fields etc. are kept. Is there a way to make Firefox not keep them, using a meta tag without JavaScript?
Thanks!
...