Find number to delete

Find number to delete SearchSearch
Author Message
Stephen Spence
New member
Username: Stephen

Post Number: 5
Registered: 10-2006
Posted on Wednesday, November 01, 2006 - 04:33 am:   

Hi there Bryce,
I use NOWSMS and I also have serveral customers connected to me. Many of my customers have very large data bases in different groups(DList). They keep asking me if there is an easy way to delete a number from their lists without have to scrol the entire list just to find one number to delete (this takes a long time if the list is very long)

Can there be a "find" feature in NOWSMS so that one dont have to go through the entire list(Dlist) just to find one or two numbers to delete?

Please advice me.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6777
Registered: 10-2002
Posted on Wednesday, November 01, 2006 - 09:47 pm:   

Hi Stephen,

This could be done with a direct URL request:

http://server:port/dlists?DListName=XXXXXX&DListMemberAction=Delete&DListMember= PHONENUMBER

It would be relatively easy to edit the "DList Members.htm" template to add a delete entry box that prompted for a phone number and included a "Delete" button.

The only problem is that this command doesn't return an error if PHONENUMBER is not found in the list.

A "Find" function would be a little more difficult ... at least for me, because my knowledge of JavaScript is limited. I would think that a JavaScript function could do this easily, but I'm just not a JavaScript expert. On that same "DList Members.htm" template, I would imagine that you could add a new edit field, with a "Find" button that executed some JavaScript that simply searched the listbox for the entry and highlighted it if found. This is probably easy, but my JavaScript knowledge is very limited.

-bn