> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/form-management/form-designer/preview-testing/pref-filled-answers.md).

# إجابات مُعبأة مسبقًا

## 👀 ما هي الإجابات المعبأة مسبقًا؟

تسمح الإجابات المعبأة مسبقًا بإنشاء [رابط نشر URL](/ar/form-management/publish-deploy.md) سيملأ استبيانك بالقيم المحددة مسبقًا. بمجرد مشاركة هذا الرابط مع المستجيبين، سيقوم ngSurvey بملء الاستبيان بالقيم التي تم تعيينها في هذا الرابط لأسئلة محددة أو لملء الحقول.&#x20;

يمكنك إما إنشاء روابط مفعلة مسبقًا يدويًا أو يمكنك استخدام [مركز المعاينة / الاختبار](/ar/form-management/form-designer/preview-testing.md) لإنشاء الرابط ديناميكيًا أثناء ملء استبيان الاختبار.

{% hint style="info" %}
يمكنك أيضًا تعيين قيمة نص افتراضية على [خصائص الإجابة](/ar/form-management/form-designer/answers/answer-properties.md) لضبط نص افتراضي سيملأ حقولك في المرة الأولى التي يملأ فيها المستجيبون الاستبيانات.
{% endhint %}

## 🔗 الإنشاء الديناميكي

لتوليد الرابط ديناميكيًا أثناء اختيارك للإجابات تأكد من تفعيل خيار توليد **رابط الإجابات المعبأة مسبقًا** خاصية الـ [مركز المعاينة / الاختبار](/ar/form-management/form-designer/preview-testing.md). بمجرد تفعيله ستتمكن من رؤية ونسخ الرابط المعبأ مسبقًا من شريط أدوات التنقل في المعاينة.

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBs5MOep7GVBOGzwEfg%2F-MBs71aVWv0Jng3LCT9Q%2Fimage.png?alt=media\&token=7e9385aa-b730-4683-b318-5363845746b6)

سيقوم ngSurvey ببناء الرابط تلقائيًا استنادًا إلى اختياراتك وإدخالاتك الحالية في استبيان الاختبار.

## &#x20; ✍️ الإنشاء اليدوي

قد يستخدم المستخدمون المتقدمون [رابط الويب](/ar/form-management/publish-deploy/web.md) ويضيفون يدويًا القيم التي يجب استخدامها لملء الاستبيان مسبقًا.&#x20;

يجب إضافة القيم كأزواج اسم/قيمة في سلسلة الاستعلام بالشكل التالي&#x20;

a\_fieldansweridtofill=yourvalue\
q\_questiontoselect=answeridtoselectforthatquestion

في المثال أدناه سيقوم ngSurvey &#x20;

1. &#x20;بملء حقل إجابة الاستبيان الذي يحمل المعرف MBs6BnWERPH69EIEZiba بالقيمة John.
2. تحديد السؤال ذو المعرف MBs63pNZnnxG7ctdYfIa بالإجابة التي تحمل المعرف MBs63pNZnnxG7ctdYfJa&#x20;

```
https://www.ngsurvey.com/s/M6duyo80Qkfd1Eh7Vyna?a_MBs6BnWERPH69EIEZiba=John&q_MBs63pNZnnxG7ctdYfIa=MBs63pNZnnxG7ctdYfJa
```

&#x20;يمكنك العثور على معرف الإجابة في عنوان URL للمتصفح عند تحرير [خصائص الإجابة](/ar/form-management/form-designer/answers/answer-properties.md)

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBs97aoImQPeLfCGTQ_%2F-MBs9JBd-WrFThF8boT2%2Fimage.png?alt=media\&token=43b9b89c-d2a9-4f82-aee0-2e90218ea256)

يمكن أيضًا العثور على معرف السؤال في عنوان URL للمتصفح عند تحرير [question properties](/ar/form-management/form-designer/questions/question-properties.md).

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBsAFL3vAGkSqLufoFh%2F-MBsALMUC3dI8aL4RU6d%2Fimage.png?alt=media\&token=c52bfa2e-8fae-4665-8163-25dcb0c29cae)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/ar/form-management/form-designer/preview-testing/pref-filled-answers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
