Zend Framework: Dao model

I have been given a problem statement and i am relatively new to zend framework. / > ** > * create a new lead > * > * planId will be sent $_GET['planId'], the form should send the...

Using an Object as key

I'm building a questionnaire builder where the answers to some questions can lead to follow-up questions. The next step is to serialize this data and process it into a SQL query. Even though I'm...

Retrieve parent document with a doctrine2 or mongodb query

I am using Symfony 2.1 and Doctrine - MongoDBBundle. I have three documents. The first is a company, which I call "Institution". The second are contacts inside the institution, and the third are...

Ruby on Rails custom routes

I'm confused with the REST routes: I have a user signup form where user can register. I'm using form_for as a form builder - <%= form_for @user do |f| %> The thing I want to achive: path like...

Single line select using string builder or Stored Procedure

I have a lot of single line select queries in my application with multiple joins spanning 5-6 tables. These queries are generated based on many conditions based on input from a form etc using...

Squeryl - Means of combinations of queries

I have the need to perform some queries that may depend on external supplied parameters via a REST interface. For instance a client may require an URL of the form some/entities?foo=12&bar=17 The...

Is passing a NULL Owner argument for dynamically created TComponent derived class instances OK?

I work with C++ RAD Studio and Builder 6 quite a bit and often create forms dynamically or create non-visual components dynamically when writing non-visual code. When designing forms, the Owner...

Symfony2 Doctrine2 trouble with optional one to many relation

I have a problem with Doctrine2 and two relationed entities. There is a user-entity that can (not must) have one or a collection of social-entity referenced which contains a social network link. I...

How to send data to Visual Form Builder form

Wordpress Module : Visual Form Builder I need to send post values to one of my website with visual form builder. Basically I have this website where people fill up and when the user submits the...

Add a required form field based on submitted data in Symfony2

I have a form with a status select. If a certain status is selected and the form is submitted it should reload and require an additional field. I have read Dynamic generation for submitted Forms...

Google Analytics Campaign Tracking Issues

A client of mine is having some issues with regards to tracking campaigns in Google Analytics that I was hoping one of you can advise me on. They have recently sent out an email with the Google...

itemlist with custom cursorAdapter set view.visible to the wrong item

im trying to set imageview from invisible to visible using oncontextitemselected. but when i click listview the imageview turn visible randomly at the listview item, not only at the selected one....

jQuery, bootstrap 3 forum on click brings doesn't leave comment

I have a bootstrap 3 website and I found an example code to use to create a forum. I found another source of code that is a comment section. I tried using append to take the text from the comment...

Need replacement for home baked workflow engine for Django

I built a small django based web application that makes use of basic workflow/state machine concept for some of the operations. Nothing big or fancy so I never initially thought of using a...

Jquery click doesn't work twice

I'm trying to write CRUD operations using ajax. Here some code: These are my View classes: //PhotoSummary @model PhotoAlbum.WEB.Models.PhotoViewModel <div class="well"> <h3> ...

Symfony vichimage upload make two labels in formbuilder

Hi guys fro some reason the form builder make me two labels when i specified my own label. Here is the config for the vich image bundle: vich_uploader: db_driver: orm mappings: ...

Convert csv to json with python

everyone, I tried to convert my csv to json, using the code below: f = open( 'D:\\ResumesClassification\\test2.csv', 'r' ) fieldnames...

Using VCL Styles gives a exception / crash in TOpenDialog

I am experiencing a crash / exception when using a simple TOpenDialog with VCL Styles enabled. Without the styles enabled, the dialog is of course working fine. The issue occurs with C++ Builder...

Access: run query 'on click' event when entire form already finalized

I created a form where users can select a supplier from a list, then the user presses the refresh button, and a bunch of queries are run and show for transaction dates linked to that supplier. The...

Centering Navbar in Agency- Bootstrap 4 Theme

I was just wondering if anyone could help me with a problem I have been stuck on for a while. What I am wanting to accomplish is centring the menu at the top of the page (so that the services...

Error: Object reference not set to an instance of an object. But Model is provided in the return View

I get this error and I know it has been asked a lot before. But I believe that my case is different as I have provided a model in my return View, I have tried lots of different solutions that I...

Symfony Form Submit not Working

I've recently decided to take the plunge and learn Symfony as before I was learning flat PHP. I've been following various tutorials about how to add data to a database via a form in Symfony 3. I...

Eloquent query error

I am getting quite desperate with Laravel 5.4 and Eloquent Query builder. I am trying to retrieve a user by username and password. I ve following columns in my db: ID, USERNAME, PASSWORD Following...

Symfony Doctrine Many to Zero Relationship

I'm fairly new to Symfony and Doctrine and I'm not sure if this can even be done. I can do it in flat php but can't seem to find a way of doing it in Symfony/Doctrine. I've gone through loads of...

How to combine terms in a document term matrix?

I'm trying to combine terms in a dtm. I changed it to a data frame so I could get a head for this question, here's that: structure(list(word = structure(c(5L, 10L, 11L, 13L, 15L, 17L), .Label =...

Can't display posts in a grid view

i'm editing a theme and i cant display posts in a grid view whatever i'm doing i think the problem is in the css but i cant determine where i created a different index but still same problem if...

Problems to get ReCaptcha work with formhandler.php

I'm trying to add a ReCaptcha into the form. I use a formhandler.php with an error.php and success.php page. I've put this code <?php if(isset($_POST['submit'])){ $url =...

wordpress & divi builder not displaying the full Dubsado lead form, instead showing a scroll?

There is an issue when I added the forms script (Dubsado code into wordpress page) onto the divi text section. It is just showing the 'FIRST NAME' section and other sections of the form are coming...

How to improve performance when parsing large text file - StreamReader + Regex

I am developing a windows form application that takes a Robot Program generated by other software and modifies it. The process of modification is as follows: The StreamReader.ReadLine() is used...

Flutter - Duplicate GlobalKey detected in widget tree

Refer to this https://stackoverflow.com/questions/49371221/duplicate-globalkey-detected-in-widget-tree?newreg=60e979cd8a234262958091caa55764fb , i still have struggle with duplicate key while...