خرید بک لینک

Vote count: 0

I am working on a shipping and receiving log forms using Google Forms. On the first form/page I determine if it is shipping or receiving, the carrier, and then I have the user paste the confirmation page which is nicely converted to text.

Once the user clicks submit, I can parse that data, but I would like to display a second prefilled form with that parsed data (address, tracking number, etc.) so the user can correct anything that might not have parsed correctly and add some additional details.

What I am unable to figure out is how to display the prefilled form once the user presses submit.`

function onFormSubmit(){
  var form = FormApp.create('MyForm');
  var id = form.getId();
  var item = form.addTextItem()
       .setTitle('Tracking Number');
  var formResponse = form.createResponse();
  var response = item.createResponse("Hello");//just something to see that I really put a value in it.
  formResponse.withItemResponse(response);
  var url = formResponse.toPrefilledUrl();
  FormApp.openByUrl(url);
  }

`

asked 27 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 14 مرداد 1395 ساعت: 23:12

صفحه بندی