User Profile

Collapse

Profile Sidebar

Collapse
CRAYON34
CRAYON34
Last Activity: May 5 '23, 06:08 PM
Joined: Aug 16 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I am a bit confused with all of this. I did implement the code. I usually use the CDN url from Google for jquery as in this case, whenever I have used it (jquery). I put required in the fields I wanted required already and as mentioned with HTML 5 its' cross browser with something like this fallback http://stackoverflow.com/questions/3...ttribute-html5 and have seen work in all browsers. But, I still tried to implement this code. Now,...
    See more | Go to post

    Leave a comment:


  • I understand, and will await your reply. I have beat my head around this a lot. As in my other posts to you my other script worked as such but textarea issues, so merged and no luck as with child cells no good for textarea as re-populates innnerHTML. I really don't see why there isn't easy way dynamically. Okay, please be descriptive on your Ajax method as I am new with that language.
    See more | Go to post

    Leave a comment:


  • Dynamic Fields js/php to MySql need to submit dynamically to the database

    I can not get the values from the javascript add row to go dynamically as a row into MySql only the form values show up as the form below as one row. I made it as an array, but no such luck, I have tried this code around a multitude of ways. I don't know what I am doing wrong, kindly write out the correct way.



    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ...
    See more | Go to post
    Last edited by Rabbit; Aug 24 '14, 12:08 AM. Reason: Please use [code] and [/code] tags when posting code or formatted data.

  • This is not the case at all. I am not sure if you understand the thread topic here sir/madam? This is about a dynamically generated field error check with js/php. You make no revelation to the core issue here. So, I need the js to error or is there a way to make php do this? As I surely cannot find a way. As far as html5 the required does work for al fields and there is workaround markup for cross browser support I added. So, now I just add an error...
    See more | Go to post

    Leave a comment:


  • print_r and sorry for confusion as what I mean.
    See more | Go to post

    Leave a comment:


  • Hi, we'll working with your code last couple days, so now have been working on error function with this and nothing seems to work. Basically, as your aware I am using php within this. So, when user hits submit button and there are errors, the user data should still be in the fields if there is an error and the message or highlight appear over the field, all that happens well but only the form first row in the table and none of the dynamic rows. Now,...
    See more | Go to post
    Last edited by Dormilich; Aug 22 '14, 12:49 PM. Reason: please use code tags when posting code

    Leave a comment:


  • I have played around with your code, seems good. I will have to elaborate more and get back to you if any other issues arise. I give you a BIG THANK YOU for your help. I have been working on such for a long time, I first started with nodes using switch statement and create the case with a newcell. Can you please explain why textarea does not work for this, or does it? I sure could never get it to work as my reading states back w3 html textarea not...
    See more | Go to post

    Leave a comment:


  • I have implemented the limit, works and thanks. On to the next issue. I have a select menu and can't get that to work. I tried to create a function inside the add but it didn't work, I tried to add the <select name="theselect menuname'+count er+'"></select></td> in various fashions and a div and without a div as innerhtml. It will populate but nothing in the dropdown however from what I am reading I need to use innerText...
    See more | Go to post

    Leave a comment:


  • Yes, this helps, thank you. However my only problem now is setting variable limit. Let's say I only want to let a user add three rows max var limit = 3;in this instance with a function I am unable to get it to work, Can you assist with this? I am trying all my methods, but the add function will not work as above the user should be alerted if records all can't be deleted and only max 3. By the way, the checkbox only starts appearing after the first...
    See more | Go to post

    Leave a comment:


  • Need a delete row function with Checkbox for dynamic form --DOM

    Code:
     <script type="text/javascript">
    2.        var counter = 1;
    3.        var limit = 6;
    4.        function addTextArea() {
    5.         if (counter == limit-1) {
    6.         alert("Maximum limit " + counter + " sorry");
    7.         return false;
    8.         }
    9.         else {
    10.         <!-- CAUTION THIS IS BACKWARDS. -->
    11.
    12.
    ...
    See more | Go to post
No activity results to display
Show More
Working...