Click here to Skip to main content
15,889,034 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming21-Feb-17 9:03
mveRichard Deeming21-Feb-17 9:03 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
samflex21-Feb-17 9:12
samflex21-Feb-17 9:12 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming21-Feb-17 9:22
mveRichard Deeming21-Feb-17 9:22 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
samflex21-Feb-17 9:34
samflex21-Feb-17 9:34 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming21-Feb-17 9:37
mveRichard Deeming21-Feb-17 9:37 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
samflex21-Feb-17 10:04
samflex21-Feb-17 10:04 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming21-Feb-17 11:06
mveRichard Deeming21-Feb-17 11:06 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
samflex21-Feb-17 15:34
samflex21-Feb-17 15:34 
I just tried your latest code. I entered records into the first row, dynamically added another row and populated that as well.

Below is the debug output as well as the errors.

This AngularJS dynamic code is so gorgeous and works great in terms of the markup but this has been an unbelievable nightmare for me.

Richard, sir, I am wondering if you can give me a hint on how to make the original code I posted look as pretty as this one you did.

What I mean is that the page once loaded looks nice and is nicely laid out but when you click to Add another row, the new row looks different.

Since I can't get this to work and I begged my manager for another, perhaps that might be easier to implement?

PHP
DEBUG POST DATA: Array
(
    [employeename] => 
    [ttitle] => 
    [rowIDs] => 1
    [sourcename1] => John Doe
    [sourceaddress1] => 123 Doe street
    [income1] => $36,000.00
    [sourcename12] => Jane Doe
    [sourceaddress12] => 23 Jane Way
    [income12] => $67,000.00
    [spousename] => Array
        (
            [0] => 
        )

    [spouseAddress] => Array
        (
            [0] => 
        )

    [spouseIncome] => Array
        (
            [0] => 
        )

    [email] => 
    [submitted] => true
)





Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\disclosures\forms\preview.php on line 14

Notice: Undefined variable: sourcename1 in C:\xampp\htdocs\disclosures\forms\preview.php on line 28
 "> Notice: Undefined variable: sourceaddress1 in C:\xampp\htdocs\disclosures\forms\preview.php on line 29
 "> Notice: Undefined variable: income1 in C:\xampp\htdocs\disclosures\forms\preview.php on line 30
 "> Notice: Undefined variable: spousename in C:\xampp\htdocs\disclosures\forms\preview.php on line 31
 "> Notice: Undefined variable: spouseAddress in C:\xampp\htdocs\disclosures\forms\preview.php on line 32
 "> Notice: Undefined variable: spouseIncome in C:\xampp\htdocs\disclosures\forms\preview.php on line 33

GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming22-Feb-17 2:41
mveRichard Deeming22-Feb-17 2:41 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
samflex22-Feb-17 3:22
samflex22-Feb-17 3:22 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming22-Feb-17 5:02
mveRichard Deeming22-Feb-17 5:02 
GeneralRe: Getting "Notice: Undefined offset: 1" error Pin
samflex23-Feb-17 2:59
samflex23-Feb-17 2:59 
PraiseRe: Getting "Notice: Undefined offset: 1" error Pin
Richard Deeming23-Feb-17 3:41
mveRichard Deeming23-Feb-17 3:41 
QuestionDownload images from bing to use without internet connection Pin
Member 1301427820-Feb-17 23:42
Member 1301427820-Feb-17 23:42 
AnswerRe: Download images from bing to use without internet connection Pin
OriginalGriff20-Feb-17 23:44
mveOriginalGriff20-Feb-17 23:44 
GeneralRe: Download images from bing to use without internet connection Pin
Member 1301427820-Feb-17 23:49
Member 1301427820-Feb-17 23:49 
AnswerRe: Download images from bing to use without internet connection Pin
ZurdoDev21-Feb-17 2:01
professionalZurdoDev21-Feb-17 2:01 
Questionangular-cli chrome extension bootstrap from many .html Pin
JulioGold19-Feb-17 8:29
JulioGold19-Feb-17 8:29 
Questionremoving duplicates from array in order to use regex to find match. returning null Pin
Member 1299542016-Feb-17 16:26
Member 1299542016-Feb-17 16:26 
AnswerRe: removing duplicates from array in order to use regex to find match. returning null Pin
Nathan Minier17-Feb-17 1:31
professionalNathan Minier17-Feb-17 1:31 
QuestionAJAX request for photos Pin
Member 1300611016-Feb-17 11:06
Member 1300611016-Feb-17 11:06 
QuestionDynamically add row by DIV(SOLVED) Pin
samflex16-Feb-17 5:46
samflex16-Feb-17 5:46 
AnswerRe: Dynamically add row by DIV Pin
Richard Deeming16-Feb-17 8:40
mveRichard Deeming16-Feb-17 8:40 
GeneralRe: Dynamically add row by DIV Pin
samflex16-Feb-17 9:05
samflex16-Feb-17 9:05 
GeneralRe: Dynamically add row by DIV Pin
Richard Deeming16-Feb-17 9:30
mveRichard Deeming16-Feb-17 9:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.