Simple Select All Text Box
[resolved] Multiple textbox in same post (4 posts)

  1. American2020
    Posted 3 years ago #

    How can I add more than one textbox in same post, and autoselect working for each of them.



  2. American2020
    Posted 3 years ago #

    Well, I came out with a solution. Till I thinking in something better, this will work ok.

    I changed this line in simple-select-all-textbox.php (Wich wasn't really unique, bc having more than 1 textbox in same post, would give them all the same number... so)

    //generate unique ids for each textbox
    $post_id = get_the_ID();

    I changed for:

    //generate unique ids for each textbox
    $post_id = rand(0,999999);

    Only few in millions the chance of getting twice the same numbers.

  3. grimmdude
    Plugin Author

    Posted 2 years ago #

    Hi there,

    This is fixed with the new version; 2.3


  4. American2020
    Posted 2 years ago #

    Thanks Grimmdude :) The Plugin is getting better :) Hope you also add some "Copy to clipboard" functionality, and a "Select All" option above the Textbox. Those 2 functions will also be very useful.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Select All Text Box
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic