Descarga de la fuente abierta Bot Libre de la Comunidad de Edición e instalar el Bot Libre en tu propio servidor
Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

RE: Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

por josource publicado Sep 1 2017, 7:25

I want to create user specific chatbot like I want to store some values like username and password and use it further postJSON call in chatbot. Then how it be achieve that. Need to think I want to use stored specific values need not to fetch from user. Only once it fetched used in many other calls with same value, how would I achieve that.

 

And also how am I used HTML form to submit form by button click in response of chat bot ex.

pattern "get login details" answer callthis();

function callthis(){

var temp = "<form><input type='text' name='username' placeholder='your name...'><button type='button' name='submitloggincred' onclick='"+submitloggincred()+"'>Submit</button></form>";
return "Fine,"+temp;
}

function submitloggincred(){
return "submitloggincred is called";
}


Id: 18908462
Publicado: Sep 1 2017, 7:25
Actualizado: Sep 1 2017, 8:54
Respuestas: 0
Vistas: 3742, hoy: 1, la semana: 7, mes: 13
0 0 0.0/5