View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Addinf a new Form - ProjeQtOr
 

Addinf a new Form

More
10 Jan 2013 11:58 #1 by imenkolsi
Addinf a new Form was created by imenkolsi
Hi I've added a new form to add some leaves for my ressources

I couldn't find a way to submit my form

Actually I'd like to use The save button that belongs to the project'or ria but i

couldn't get the way how to make that button works on my form

I would appreciate any help

Thanks in advance

Please Log in or Create an account to join the conversation.

More
10 Jan 2013 12:58 #2 by babynus
Replied by babynus on topic Re: Addinf a new Form
What are the symptoms ?
- javascript issue in the cosole ?
- php error in the log file ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
10 Jan 2013 14:15 #3 by imenkolsi
Replied by imenkolsi on topic Re: Addinf a new Form
well i get this problem

Error on submitForm('../tool/saveMesImputationsLine.php', 'resultDiv', 'listForm') :
Form '${3}' is not a widget.

I've added a new view containing a form i want to save the data with the save button but when i do press the button i got that error

Please Log in or Create an account to join the conversation.

More
10 Jan 2013 14:50 #4 by babynus
Replied by babynus on topic Re: Addinf a new Form
Surely the form is not named as expected (id or name or jsid)
refer to /view/objectDetail.php

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
10 Jan 2013 14:55 #5 by imenkolsi
Replied by imenkolsi on topic Re: Addinf a new Form
well for me , i copied past the cde of your model/imputationLine.php and the tool/saveImputation.php, view/imputationLine.php , view/imputationMain.php and i made the changes but it is not working


would you explain what i've to change in the ObjectDetail file

Please Log in or Create an account to join the conversation.

More
10 Jan 2013 15:14 #6 by babynus
Replied by babynus on topic Re: Addinf a new Form
if you started from imputation screen, objectDetail.php is no matter.

In imputationList.php, you find definition of From as a dijit Widget
<form dojoType="dijit.form.Form" id="listForm" action="" method="post" >
It seems your listForm is not a dijit widget.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.046 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.