In my PDF (built using Acrobat Pro) I have a number of fields containing statements relating to students.For each field, the user currently edits the default text to match the student’s gender – e.g., a statement might read:
“[He/she] accepted a place to study….etc” – with the user deleting either "he" or "she" as a appropriate.
It would be really useful if there were to be a script to essentially find and replace all “he/she” “his/her” and “him/her” statements in text boxes with the correct gender pronoun depending upon gender selection from a dropdown list.Would this be possible? Thanks.
If you wish, I could incorporate it into your form so that it automatically applies those changes based on a selection in a drop-down, although this is not as simple as it seems, and I would think twice if I were you before deciding for people (especially students...) what pronouns they should use.
Good point. You’re certainly right to advise caution with regards ascribing gender pronouns. I worked something out with event.value.replace, but I think there is too much scope for error when automating the gendering of text – best left be! Thanks for the advice.
Hope you are dong well and sorry for the trouble. As described, you want to find and replace all “he/she” “his/her” and “him/her” statements in text boxes with the correct gender pronoun depending upon gender selection from a dropdown list using script.