As what the reference link has indicated, my internet explorer loads javascript before the infopath form, thus the text field did not exist while the javascript was running, I have used a polling method to wait half a second interval till the element loads.
Using infopath designer, the title is set to OccupationField
This snippet is similiar from previous javascript post except for a few tweaks.
The url will be something like http://url/page.aspx?Occupation=Policeman
No comments:
Post a Comment