Get a Free Trial
GrabzIt's Online Community

Form Fields not Appearing

Ask questions on how to capture or convert web pages or HTML into images, MP4. CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.

There are no forum posts on this topic! Why don't you write one?

I'm trying to convert this page to PDF, but the form fields are only partially filled in. When I view the page in my browser, all of the fields are filled in, but when I try screenshotting with the PHP API or by directly entering the URL on the grabzIt site, all the fields after "Sub Total" are empty. Note that the page fills in the form fields using JavaScript, but I have setWaitForElement() set up on an element "#finished-rendering" that is set to display:none until the JavaScript is complete, and then I run $("#finished-rendering").show().

I've experimented with using setDelay() with delays up to 10000 ms, but still it only fills in up to "Sub Total". I suspect there is a JS error occuring when grabzIt loads the page that does not occur in my browser. Is there a way to debug this?

https://brain-power.com/academy-bulk-purchase-invoice/?invoice-number=13071506&invoice-date=2021-04-07&first-name=James&last-name=Ryan&email=morpheus%40example.com&phone=6175555555&job-title=Chief%20Operating%20Officer&school-name=James%20Ryan%20School&unit-price=40&quantity=1000&total-price=%2440000&discount-pct=-60%25&discount-total=-%2424000&discounted-price=%2416000&bc-first-name=Testy&bc-last-name=McTestface&bc-email=morpheus%40example.com&bc-phone=6175555555&full-address=123%20Street%20Ave%250ACity%2C%20ST%2077777&purchase-method=Purchase%20Order&purchaser-signature-signature=%20James%20Ryan&purchaser-signature-date=2021-04-07&brainpower-signature-date=2021-04-07&click-to-pay-link=https%3A%2F%2Fbrain-power.com%2Fcheckout%2F%3Fadd-to-cart%3D35334%26quantity%3D1000%26billing_first_name%3DJames%26billing_last_name%3DRyan%26billing_email%3Dmorpheus%40example.com%26billing_phone%3D6175555555%26billing_company%3DJames%2520Ryan%2520School%26billing_address_1%3D%26billing_city%3D%26billing_state%3D%26billing_postcode%3D&click-to-edit-link=https%3A%2F%2Fbrain-power.com%2Facademy-bulk-purchase%2F

 

Asked by James Ryan on the 7th of April 2021

We have released a fix for this it should be fully rolled out in the next half an hour. Sorry for an inconvience caused.

Answered by GrabzIt Support on the 7th of April 2021

Thank you! I have confirmed this is working.

Answered by James Ryan on the 8th of April 2021