> 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). بمجرد تفعيله ستتمكن من رؤية ونسخ الرابط المعبأ مسبقًا من شريط أدوات التنقل في المعاينة.

![](/files/97594c0c3c01e452bf6338470139e59385694cbf)

سيقوم 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)

![](/files/bfe120fc1235c7ec43c2c902190c86ba8efeab46)

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

![](/files/33a7d0b547540ab076b0098755ccec3a6d770e96)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
