Hi, there people!
I want to know if it's possible after choose an option in listpicker to trigger a reaction depending of this choice.
For example, if I choose the selection 1, one sms is sent to a phone number, if I choose the selection 2, the sms is sent to another phone number.
is it possible? with listpicker or spinner, they both are good for me.
Thank you so much in advance!!
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              Considering you have used only 2 elements in the ListPicker /Spinner , the code would go like this: 
Make sure you change the item and the messages to your liking.
            
 
            
               
               
              1 Like 
            
            
                 
                 
              
           
          
            
              
                ABG  
                
               
               
              
                  
                    October 5, 2021,  3:13pm
                   
                   
              3 
               
             
            
              
 Sandra_Garcia:
 
I choose the selection 1, one sms is sent to a phone number, if I choose the selection 2, the sms is sent to another phone number.
 
 
If all that changes is the data, this can use the phone number as the Elements of the List Picker, and use ListPicker1.Selection in the SMS operation in the List Picker .AfterPicking event block.
             
            
               
               
              1 Like 
            
            
                 
                 
              
           
          
            
            
              Also please do not spam communities, same question asked in Kodular's community and I unlisted it
  
  
     
Hi, there people!  I want to know if it’s possible after choose an option in listpicker to trigger a reaction depending of this choice.  For example, if I choose the selection 1, one sms is sent to a phone number, if I choose the selection 2, the sms...
   
  
    
    
  
  
 
             
            
               
               
              3 Likes 
            
            
                 
                 
              
           
          
            
            
              It's a great idea, but I dont want the people who use the app knows the phonenumbers.
Thank you, anyway, for your suggest 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              Unfortunately, I don't think it's possible to do that, but you could open WhatsApp using the ActivityStarter:
  
  
    Yes You can Call Url with activity starter 
and call below link 
https://wa.me/whatsappphonenumber?text=urlencodedtext 
where  “whatsappphonenumber”  is a full phone number in international format and  urlencodedtext  is the URL-encoded pre-filled message. 
 [21-04-2020-07-24-44]  
I use google sheets to call random data in place of URL
   
 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              Also, I forgot to invoke the Texting.SendMessage  (or SendMessageDirect , as I've used, since it's easier) function. but it doesn't matter anyway  . You'll also need to set the PhoneNumber  too. 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              Thank you so much, that's perfect! 
             
            
               
               
               
            
            
                 
                 
              
           
          
            
            
              yes, dont worry I had understood it anyway 
Thank you so much again for your help!
             
            
               
               
              1 Like