# Prefilling a form programmatically

**URL:** <https://forum.getodk.org/t/prefilling-a-form-programmatically/36238>\
**Category:** Ideas\
**Tags:** odk-collect\
**Created:** [December 30, 2021, 10:26am UTC](https://forum.getodk.org/t/prefilling-a-form-programmatically/36238 "2021-12-30T10:26:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Umang\_Bhola](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/umang_bhola/32/17076_2.png) [@Umang\_Bhola](https://forum.getodk.org/u/Umang_Bhola)\
**Post date:** [December 30, 2021, 10:26am UTC](https://forum.getodk.org/t/prefilling-a-form-programmatically/36238/1 "2021-12-30T10:26:42Z")

</div>

**1. What is the general goal of the feature?**  
Allowing the users to call a method by form name or form id to prefill the form's certain fields programmatically  
**2. What are some example use cases for this feature?**  
If the app is integrated with pre-existing app, then from parent app, then the method could be invoked to prefill certain fields in form basis user inputs  
**3. What can you contribute to making this feature a reality?**  
We have used this method, but there are issues in XML rendering post prefilling, if the form contain \< or \> based regex.
